Exception: NoMatchingXmlPart

Inherits:
Exception
  • Object
show all
Defined in:
lib/no_matching_xml_part.rb

Instance Method Summary collapse

Constructor Details

#initialize(method_name, node_name) ⇒ NoMatchingXmlPart

Returns a new instance of NoMatchingXmlPart.



2
3
4
# File 'lib/no_matching_xml_part.rb', line 2

def initialize method_name, node_name
  super "#{method_name} is not contained as a child of the node #{node_name}."
end