Exception: ACH::Component::UnknownAttributeError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- ACH::Component::UnknownAttributeError
- Defined in:
- lib/ach/component.rb
Overview
Exception raised on attempt to assign a value to nonexistent field.
Instance Method Summary collapse
-
#initialize(field, obj) ⇒ UnknownAttributeError
constructor
A new instance of UnknownAttributeError.
Constructor Details
#initialize(field, obj) ⇒ UnknownAttributeError
Returns a new instance of UnknownAttributeError.
22 23 24 |
# File 'lib/ach/component.rb', line 22 def initialize field, obj super "Unrecognized attribute '#{field}' for #{obj}" end |