Class: CamtParser::File
- Inherits:
-
Object
- Object
- CamtParser::File
- Defined in:
- lib/camt_parser/file.rb
Class Method Summary collapse
Class Method Details
.parse(path) ⇒ Object
3 4 5 6 |
# File 'lib/camt_parser/file.rb', line 3 def self.parse(path) data = ::File.read(path) CamtParser::String.parse(data) end |