Class: Parser::Sheet
- Inherits:
-
Object
- Object
- Parser::Sheet
- Defined in:
- lib/parser/sheet.rb
Constant Summary collapse
- EVENT_CODE =
'1914'
Instance Method Summary collapse
- #each_event ⇒ Object
- #events ⇒ Object
-
#initialize(file) ⇒ Sheet
constructor
A new instance of Sheet.
Constructor Details
#initialize(file) ⇒ Sheet
Returns a new instance of Sheet.
7 8 9 |
# File 'lib/parser/sheet.rb', line 7 def initialize(file) @file = file end |
Instance Method Details
#each_event ⇒ Object
19 20 21 22 23 |
# File 'lib/parser/sheet.rb', line 19 def each_event events.each do |event| yield(event) end end |