Method: EventDb::OutlineReader.read
- Defined in:
- lib/eventdb/outline_reader.rb
.read(path) ⇒ Object
use - rename to read_file or from_file etc. - why? why not?
6 7 8 9 |
# File 'lib/eventdb/outline_reader.rb', line 6 def self.read( path ) ## use - rename to read_file or from_file etc. - why? why not? txt = File.open( path, 'r:utf-8' ).read parse( txt ) end |