Exception: Riveter::UnregisteredTypeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/riveter/associated_type_registry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#typeObject (readonly)

Returns the value of attribute type.



56
57
58
# File 'lib/riveter/associated_type_registry.rb', line 56

def type
  @type
end