Method: OXM::Object#method_missing
- Defined in:
- lib/oxm/object.rb
#method_missing(symb, *args) ⇒ Object (private)
139 140 141 142 143 144 145 |
# File 'lib/oxm/object.rb', line 139 def method_missing(symb, *args) if @nodes.has_key?(symb.to_s) return @nodes[symb.to_s] else raise NoMethodError.new("undefined method or attribute `#{symb}'") end end |