Method: GetText::RubyParser.parse
- Defined in:
- lib/gettext/tools/parser/ruby.rb
.parse(path, options = {}) ⇒ Array<POEntry>
Parses Ruby script located at path.
This is a short cut method. It equals to new(path,
options).parse.
348 349 350 351 |
# File 'lib/gettext/tools/parser/ruby.rb', line 348 def parse(path, ={}) parser = new(path, ) parser.parse end |