Method: GetText::RubyParser::POExtractor#initialize
- Defined in:
- lib/gettext/tools/parser/ruby.rb
#initialize(*args) ⇒ POExtractor
Returns a new instance of POExtractor.
| 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | # File 'lib/gettext/tools/parser/ruby.rb', line 29 def initialize(*args) super(*args) @start_block = false @in_block_arguments = false @ignore_next_comma = false @need_definition_name = false @current_po_entry = nil @current_po_entry_nth_attribute = 0 @use_comment = false @comment_tag = nil @last_comment = +"" @reset_comment = false @string_mark_stack = [] @string_stack = [] end |