Exception: Riveter::UnregisteredTypeError
- Defined in:
- lib/riveter/associated_type_registry.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type) ⇒ UnregisteredTypeError
constructor
A new instance of UnregisteredTypeError.
Constructor Details
#initialize(type) ⇒ UnregisteredTypeError
Returns a new instance of UnregisteredTypeError.
58 59 60 61 |
# File 'lib/riveter/associated_type_registry.rb', line 58 def initialize(type) super "Unregistered type '#{type}'" @type = type end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
56 57 58 |
# File 'lib/riveter/associated_type_registry.rb', line 56 def type @type end |