Class: I18n::Tasks::Scanners::RubyParserFactory
- Inherits:
-
Object
- Object
- I18n::Tasks::Scanners::RubyParserFactory
- Defined in:
- lib/i18n/tasks/scanners/ruby_parser_factory.rb
Class Method Summary collapse
Class Method Details
.create_parser ⇒ Object
18 19 20 21 22 23 24 25 |
# File 'lib/i18n/tasks/scanners/ruby_parser_factory.rb', line 18 def self.create_parser prev = $VERBOSE $VERBOSE = nil require 'parser/current' ::Parser::CurrentRuby.new ensure $VERBOSE = prev end |