Method: XMLObject::Element#method_missing
- Defined in:
- lib/xml-object/element.rb
#method_missing(m, *a, &b) ⇒ Object (private)
:nodoc:
18 19 20 21 22 23 |
# File 'lib/xml-object/element.rb', line 18 def method_missing(m, *a, &b) # :nodoc: dispatched = __question_dispatch(m, *a, &b) dispatched = __dot_notation_dispatch(m, *a, &b) if dispatched.nil? dispatched.nil? ? raise(NameError.new(m.to_s)) : dispatched end |