module Cassie::Statements::Statement::Preparation::ClassMethods

@!parse extend ClassMethods

Public Instance Methods

inherited(subclass) click to toggle source

@!visibility private

Calls superclass method
# File lib/cassie/statements/statement/preparation.rb, line 31
def inherited(subclass)
  subclass.prepare = prepare
  super
end
prepare() click to toggle source

@return [Boolean] whether the statement will be prepared when executed

# File lib/cassie/statements/statement/preparation.rb, line 37
def prepare
  @prepare
end
prepare=(val) click to toggle source
# File lib/cassie/statements/statement/preparation.rb, line 41
def prepare=(val)
  @prepare = !!val
end
prepare?() click to toggle source

@return [Boolean] indicating whether the statement will be prepared when executed

# File lib/cassie/statements/statement/preparation.rb, line 46
def prepare?
  !!prepare
end