Class: Coradoc::LegacyParser

Inherits:
Parslet::Parser
  • Object
show all
Defined in:
lib/coradoc/legacy_parser.rb

Class Method Summary collapse

Class Method Details

.parse(filename) ⇒ Object



195
196
197
198
# File 'lib/coradoc/legacy_parser.rb', line 195

def self.parse(filename)
  content = File.read(filename)
  new.parse_with_debug(content)
end