Class: Timetrack::Reader Private

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Assemble a parser, a transform, and an IO-like object together to turn them into an AST.

Instance Method Summary collapse

Instance Method Details

#loadObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



8
9
10
# File 'lib/timetrack/reader.rb', line 8

def load
  transform.apply parser.parse input.read
end