Class: Yalphabetize::Reader

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

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ Reader

Returns a new instance of Reader.



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

def initialize(path)
  @path = path
end

Instance Method Details

#to_astObject



12
13
14
# File 'lib/yalphabetize/reader.rb', line 12

def to_ast
  stream_node
end