Exception: Moxml::VisitorMethodError
- Inherits:
-
VisitorError
- Object
- StandardError
- Error
- VisitorError
- Moxml::VisitorMethodError
- Defined in:
- lib/moxml/errors.rb
Instance Attribute Summary collapse
-
#method_name ⇒ Object
readonly
Returns the value of attribute method_name.
Instance Method Summary collapse
-
#initialize(message, method_name) ⇒ VisitorMethodError
constructor
A new instance of VisitorMethodError.
Constructor Details
#initialize(message, method_name) ⇒ VisitorMethodError
Returns a new instance of VisitorMethodError.
99 100 101 102 |
# File 'lib/moxml/errors.rb', line 99 def initialize(, method_name) @method_name = method_name super("#{message} (Method: #{method_name})") end |
Instance Attribute Details
#method_name ⇒ Object (readonly)
Returns the value of attribute method_name.
97 98 99 |
# File 'lib/moxml/errors.rb', line 97 def method_name @method_name end |