Method: Zafu::Parser#parser_error

Defined in:
lib/zafu/parser.rb

#parser_error(message, method = @method, halt = true) ⇒ Object



135
136
137
138
139
140
141
142
# File 'lib/zafu/parser.rb', line 135

def parser_error(message, method = @method, halt = true)
  if halt
    self.class.parser_error(message, method)
  else
    @errors << self.class.parser_error(message, method)
    nil
  end
end