Class: Fingerprint::RecordSetWrapper
- Inherits:
-
Object
- Object
- Fingerprint::RecordSetWrapper
- Defined in:
- lib/fingerprint/record.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(recordset) ⇒ RecordSetWrapper
constructor
A new instance of RecordSetWrapper.
- #method_missing(name, *args, &block) ⇒ Object
- #respond_to?(name) ⇒ Boolean
Constructor Details
#initialize(recordset) ⇒ RecordSetWrapper
Returns a new instance of RecordSetWrapper.
285 286 287 |
# File 'lib/fingerprint/record.rb', line 285 def initialize(recordset) @recordset = recordset end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object
289 290 291 |
# File 'lib/fingerprint/record.rb', line 289 def method_missing(name, *args, &block) @recordset.send(name, *args, &block) end |
Instance Method Details
#respond_to?(name) ⇒ Boolean
293 294 295 |
# File 'lib/fingerprint/record.rb', line 293 def respond_to?(name) @recordset.respond_to?(name) end |