Exception: ACH::Component::UnknownAttributeError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/ach/component.rb

Overview

Exception raised on attempt to assign a value to nonexistent field.

Instance Method Summary collapse

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