Exception: SimpleLogic::ParseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/simple_logic/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(offset) ⇒ ParseError

Returns a new instance of ParseError.



4
5
6
# File 'lib/simple_logic/errors.rb', line 4

def initialize(offset)
  @offset = offset
end

Instance Attribute Details

#offsetObject (readonly)

Returns the value of attribute offset.



3
4
5
# File 'lib/simple_logic/errors.rb', line 3

def offset
  @offset
end