Method: GetText::ErbParser.parse
- Defined in:
- lib/gettext/tools/parser/erb.rb
.parse(path, options = {}) ⇒ Array<POEntry>
Parses eRuby script located at path.
This is a short cut method. It equals to new(path,
options).parse.
45 46 47 48 |
# File 'lib/gettext/tools/parser/erb.rb', line 45 def parse(path, ={}) parser = new(path, ) parser.parse end |