Module: Cassie::Statements::Statement::Preparation::ClassMethods
- Defined in:
- lib/cassie/statements/statement/preparation.rb
Instance Method Summary collapse
-
#prepare ⇒ Boolean
Whether the statement will be prepared when executed.
- #prepare=(val) ⇒ Object
-
#prepare? ⇒ Boolean
Indicating whether the statement will be prepared when executed.
Instance Method Details
#prepare ⇒ Boolean
Returns whether the statement will be prepared when executed.
37 38 39 |
# File 'lib/cassie/statements/statement/preparation.rb', line 37 def prepare @prepare end |
#prepare=(val) ⇒ Object
41 42 43 |
# File 'lib/cassie/statements/statement/preparation.rb', line 41 def prepare=(val) @prepare = !!val end |
#prepare? ⇒ Boolean
Returns indicating whether the statement will be prepared when executed.
46 47 48 |
# File 'lib/cassie/statements/statement/preparation.rb', line 46 def prepare? !!prepare end |