Exception: SimpleLogic::UndefinedVariableError
- Inherits:
-
StandardError
- Object
- StandardError
- SimpleLogic::UndefinedVariableError
- Defined in:
- lib/simple_logic/errors.rb
Instance Attribute Summary collapse
-
#offset ⇒ Object
readonly
Returns the value of attribute offset.
Instance Method Summary collapse
-
#initialize(offset) ⇒ UndefinedVariableError
constructor
A new instance of UndefinedVariableError.
Constructor Details
#initialize(offset) ⇒ UndefinedVariableError
Returns a new instance of UndefinedVariableError.
11 12 13 |
# File 'lib/simple_logic/errors.rb', line 11 def initialize(offset) @offset = offset end |
Instance Attribute Details
#offset ⇒ Object (readonly)
Returns the value of attribute offset.
10 11 12 |
# File 'lib/simple_logic/errors.rb', line 10 def offset @offset end |