Method: GetTextSlim::Parser.parse
- Defined in:
- lib/gettext-slim/parser.rb
.parse(path, options = {}) ⇒ Array<POEntry>
Parses Slim file located at path.
This is a short cut method. It equals to new(path,
options).parse.
49 50 51 52 |
# File 'lib/gettext-slim/parser.rb', line 49 def parse(path, ={}) parser = new(path, ) parser.parse end |