Exception: Identifold::Error
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Identifold::Error
- Defined in:
- lib/identifold.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(code) ⇒ Error
Returns a new instance of Error.
9 10 11 12 |
# File 'lib/identifold.rb', line 9 def initialize(code) super(code) @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
7 8 9 |
# File 'lib/identifold.rb', line 7 def code @code end |