module Record
Record
¶ ↑
A record abstracts on line or ‘record’ of a fixed width field. The methods available are the keys of the hash passed to the constructor. For example the call:
h = Hash['first_name','Andy','status','Supercool!'] r = Record::Definition.new(h)
would respond to r.first_name, and r.status yielding ‘Andy’ and ‘Supercool!’ respectively.