Class: DBI::Row

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

Overview

augments DBI::Row with a method_missing method that lets the row behave as if it had accessor methods for each colum.

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(meth_id) ⇒ Object



220
221
222
# File 'lib/DB.rb', line 220

def method_missing meth_id
	return self[meth_id]
end