Class: MissingT::FileReader

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

Instance Method Summary collapse

Instance Method Details

#read(file) ⇒ Object



52
53
54
55
56
# File 'lib/missing_t.rb', line 52

def read(file)
  IO.readlines(file).each do |line|
    yield line
  end
end