Class: Dupe::Record
- Inherits:
-
Object
- Object
- Dupe::Record
- Defined in:
- lib/dupe/record.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(hash) ⇒ Record
constructor
A new instance of Record.
- #method_missing(method_name, *args, &block) ⇒ Object
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name, *args, &block) ⇒ Object
15 16 17 |
# File 'lib/dupe/record.rb', line 15 def method_missing(method_name, *args, &block) @attributes[method_name.to_sym] end |