Method: Zafu::Parser#process_unknown

Defined in:
lib/zafu/parser.rb

#process_unknownObject



148
149
150
151
152
153
154
155
# File 'lib/zafu/parser.rb', line 148

def process_unknown
  self.class.process_unknown_callbacks.each do |callback|
    if res = send(callback)
      return res
    end
  end
  @errors.empty? ? default_unknown : show_errors
end