Exception: Code::Error::Next
- Inherits:
-
Code::Error
- Object
- StandardError
- Code::Error
- Code::Error::Next
- Defined in:
- lib/code/error.rb
Instance Attribute Summary collapse
-
#code_value ⇒ Object
readonly
Returns the value of attribute code_value.
Instance Method Summary collapse
-
#initialize(value = nil) ⇒ Next
constructor
A new instance of Next.
Constructor Details
#initialize(value = nil) ⇒ Next
Returns a new instance of Next.
16 17 18 |
# File 'lib/code/error.rb', line 16 def initialize(value = nil) @code_value = value.to_code end |
Instance Attribute Details
#code_value ⇒ Object (readonly)
Returns the value of attribute code_value.
14 15 16 |
# File 'lib/code/error.rb', line 14 def code_value @code_value end |