module Cassie::Statements::Execution::Consistency::ClassMethods

Public Instance Methods

consistency(val=:get) click to toggle source
# File lib/cassie/statements/execution/consistency.rb, line 28
def consistency(val=:get)
  if val == :get
    return @consistency if defined?(@consistency)
    Cassie::Statements.default_consistency
  else
    self.consistency = val
  end
end
consistency=(val) click to toggle source
# File lib/cassie/statements/execution/consistency.rb, line 24
def consistency=(val)
  @consistency = val
end
inherited(subclass) click to toggle source
Calls superclass method
# File lib/cassie/statements/execution/consistency.rb, line 19
def inherited(subclass)
  subclass.consistency = consistency if defined?(@consistency)
  super
end