Class: StringReader

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

Instance Method Summary collapse

Constructor Details

#initialize(file) ⇒ StringReader



2
3
4
# File 'lib/string_reader.rb', line 2

def initialize(file)
  @read = file
end

Instance Method Details

#read(path) ⇒ Object



6
7
8
# File 'lib/string_reader.rb', line 6

def read(path)
  @read
end