Class: Hotfile::Record::Record
- Inherits:
-
Object
- Object
- Hotfile::Record::Record
- Defined in:
- lib/hotfile/record/record.rb
Overview
Records parent class
Direct Known Subclasses
BAR64, BAR65, BAR66, BAR67, BCC82, BCH02, BCT95, BCX83, BFH01, BFT99, BKF81, BKI61, BKI62, BKI63, BKP84, BKS24, BKS30, BKS31, BKS39, BKS42, BKS45, BKS46, BKS47, BKT06, BOH03, BOT93, BOT94
Instance Method Summary collapse
-
#initialize(line) ⇒ Record
constructor
A new instance of Record.
- #parse ⇒ Object
Constructor Details
#initialize(line) ⇒ Record
Returns a new instance of Record.
7 8 9 |
# File 'lib/hotfile/record/record.rb', line 7 def initialize(line) raise 'invalid line' if line.nil? || line.empty? end |
Instance Method Details
#parse ⇒ Object
11 12 13 |
# File 'lib/hotfile/record/record.rb', line 11 def parse @data end |