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.



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

Returns:

  • (Boolean)


293
294
295
# File 'lib/fingerprint/record.rb', line 293

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