Class: DohDb::RowDisplayProxy
Instance Method Summary collapse
-
#initialize(row) ⇒ RowDisplayProxy
constructor
A new instance of RowDisplayProxy.
- #method_missing(sym, *ignore_args) ⇒ Object
Constructor Details
#initialize(row) ⇒ RowDisplayProxy
Returns a new instance of RowDisplayProxy.
8 9 10 |
# File 'lib/doh/mysql/smart_row.rb', line 8 def initialize(row) @row = row end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(sym, *ignore_args) ⇒ Object
12 13 14 |
# File 'lib/doh/mysql/smart_row.rb', line 12 def method_missing(sym, *ignore_args) @row.send(sym.to_s).to_display end |