Extends PoMessage for RubyParser. Implements a sort of state machine to assist the parser.
# File lib/gettext/tools/parser/ruby.rb, line 97 97: def advance_to_next_attribute 98: @param_number += 1 99: end
# File lib/gettext/tools/parser/ruby.rb, line 92 92: def init_param 93: @param_number = 0 94: self 95: end
Supports parsing by setting attributes by and by.
# File lib/gettext/tools/parser/ruby.rb, line 86 86: def set_current_attribute(str) 87: param = @param_type[@param_number] 88: raise ParseError, 'no more string parameters expected' unless param 89: set_value(param, str) 90: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.