Exception: EnumField::BadId
- Inherits:
-
StandardError
- Object
- StandardError
- EnumField::BadId
- Defined in:
- lib/enum_field/exceptions.rb
Instance Attribute Summary collapse
-
#repeated_id ⇒ Object
readonly
Returns the value of attribute repeated_id.
Instance Method Summary collapse
-
#initialize(repeated_id) ⇒ BadId
constructor
A new instance of BadId.
Constructor Details
#initialize(repeated_id) ⇒ BadId
Returns a new instance of BadId.
3 4 5 |
# File 'lib/enum_field/exceptions.rb', line 3 def initialize(repeated_id) @repeated_id = repeated_id end |
Instance Attribute Details
#repeated_id ⇒ Object (readonly)
Returns the value of attribute repeated_id.
6 7 8 |
# File 'lib/enum_field/exceptions.rb', line 6 def repeated_id @repeated_id end |