Exception: NoMatchingXmlPart
- Inherits:
-
Exception
- Object
- Exception
- NoMatchingXmlPart
- Defined in:
- lib/no_matching_xml_part.rb
Instance Method Summary collapse
-
#initialize(method_name, node_name) ⇒ NoMatchingXmlPart
constructor
A new instance of NoMatchingXmlPart.
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 |