Exception: Bool::SyntaxError
- Inherits:
-
StandardError
- Object
- StandardError
- Bool::SyntaxError
- Defined in:
- lib/bool.rb,
ext/bool_ext/ext.c
Instance Attribute Summary collapse
-
#first_column ⇒ Object
readonly
Returns the value of attribute first_column.
-
#first_line ⇒ Object
readonly
Returns the value of attribute first_line.
-
#last_column ⇒ Object
readonly
Returns the value of attribute last_column.
-
#last_line ⇒ Object
readonly
Returns the value of attribute last_line.
Instance Method Summary collapse
-
#initialize(message, first_line, last_line, first_column, last_column) ⇒ SyntaxError
constructor
A new instance of SyntaxError.
Constructor Details
#initialize(message, first_line, last_line, first_column, last_column) ⇒ SyntaxError
Returns a new instance of SyntaxError.
12 13 14 15 |
# File 'lib/bool.rb', line 12 def initialize(, first_line, last_line, first_column, last_column) super() @first_line, @last_line, @first_column, @last_column = first_line, last_line, first_column, last_column end |
Instance Attribute Details
#first_column ⇒ Object (readonly)
Returns the value of attribute first_column.
10 11 12 |
# File 'lib/bool.rb', line 10 def first_column @first_column end |
#first_line ⇒ Object (readonly)
Returns the value of attribute first_line.
10 11 12 |
# File 'lib/bool.rb', line 10 def first_line @first_line end |
#last_column ⇒ Object (readonly)
Returns the value of attribute last_column.
10 11 12 |
# File 'lib/bool.rb', line 10 def last_column @last_column end |
#last_line ⇒ Object (readonly)
Returns the value of attribute last_line.
10 11 12 |
# File 'lib/bool.rb', line 10 def last_line @last_line end |