Class: FasterCSV::Row
- Inherits:
-
Object
- Object
- FasterCSV::Row
- Defined in:
- lib/hacks.rb
Instance Method Summary collapse
-
#method_missing(method_name, *args) ⇒ Object
allows for hash access by virtual attributes.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name, *args) ⇒ Object
allows for hash access by virtual attributes
3 4 5 |
# File 'lib/hacks.rb', line 3 def method_missing(method_name, *args) self[method_name] || self[method_name.to_s] || nil end |