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.



246
247
248
# File 'lib/fingerprint/record.rb', line 246

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



250
251
252
# File 'lib/fingerprint/record.rb', line 250

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

Instance Method Details

#respond_to?(name) ⇒ Boolean

Returns:

  • (Boolean)


254
255
256
# File 'lib/fingerprint/record.rb', line 254

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