Class: Lutaml::Model::UndefinedAttributeError
- Defined in:
- lib/lutaml/model/error/undefined_attribute_error.rb
Instance Method Summary collapse
-
#initialize(attr_name, klass) ⇒ UndefinedAttributeError
constructor
A new instance of UndefinedAttributeError.
Constructor Details
#initialize(attr_name, klass) ⇒ UndefinedAttributeError
Returns a new instance of UndefinedAttributeError.
4 5 6 |
# File 'lib/lutaml/model/error/undefined_attribute_error.rb', line 4 def initialize(attr_name, klass) super("#{attr_name} is not defined in #{klass}") end |