Exception: Code::Error::Next

Inherits:
Code::Error show all
Defined in:
lib/code/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value = nil) ⇒ Next

Returns a new instance of Next.



37
38
39
# File 'lib/code/error.rb', line 37

def initialize(value = nil)
  @value = value || Object::Nothing.new
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



35
36
37
# File 'lib/code/error.rb', line 35

def value
  @value
end