Class: DohDb::CustomSmartRow
- Inherits:
-
AbstractSmartRow
- Object
- AbstractRow
- AbstractSmartRow
- DohDb::CustomSmartRow
- Defined in:
- lib/doh/mysql/smart_row.rb
Instance Attribute Summary
Attributes inherited from AbstractSmartRow
Attributes inherited from AbstractRow
Instance Method Summary collapse
-
#initialize(*args) ⇒ CustomSmartRow
constructor
A new instance of CustomSmartRow.
Methods inherited from AbstractSmartRow
#clear_changed_keys, #db_insert, #db_update, #delete, #display, #initialize_copy, #merge!, #method_missing, #record_id=, #set
Methods inherited from AbstractRow
#at, #each_pair, #empty_field?, #get, #inspect, #key?, #record_id, #size, #to_a, #to_h
Constructor Details
#initialize(*args) ⇒ CustomSmartRow
Returns a new instance of CustomSmartRow.
150 151 152 153 |
# File 'lib/doh/mysql/smart_row.rb', line 150 def initialize(*args) super(*parse_initialize_args(*args)) @table = self.class.default_table end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class DohDb::AbstractSmartRow