Class: Fingerprint::RecordSetWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/fingerprint/record.rb

Direct Known Subclasses

RecordSetPrinter

Instance Method Summary collapse

Constructor Details

#initialize(recordset) ⇒ RecordSetWrapper

Returns a new instance of RecordSetWrapper.



265
266
267
# File 'lib/fingerprint/record.rb', line 265

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



269
270
271
# File 'lib/fingerprint/record.rb', line 269

def method_missing(name, *args, &block)
	@recordset.send(name, *args, &block)
end

Instance Method Details

#respond_to?(name) ⇒ Boolean

Returns:

  • (Boolean)


273
274
275
# File 'lib/fingerprint/record.rb', line 273

def respond_to?(name)
	@recordset.respond_to?(name)
end