Module: Cassie::Statements::Statement::Updating::ClassMethods
- Included in:
- Cassie::Statements::Statement::Updating
- Defined in:
- lib/cassie/statements/statement/updating.rb
Instance Method Summary collapse
-
#update(table) {|_self| ... } ⇒ void
DSL to set the statement type and table for updating.
Instance Method Details
#update(table) {|_self| ... } ⇒ void
This method returns an undefined value.
DSL to set the statement type and table for updating
30 31 32 33 34 35 |
# File 'lib/cassie/statements/statement/updating.rb', line 30 def update(table) self.table = table self.type = :update yield(self) if block_given? end |