Class: Minilex::Pos
- Inherits:
-
Struct
- Object
- Struct
- Minilex::Pos
- Defined in:
- lib/minilex.rb
Instance Attribute Summary collapse
-
#line ⇒ Object
Returns the value of attribute line.
-
#offset ⇒ Object
Returns the value of attribute offset.
Instance Attribute Details
#line ⇒ Object
Returns the value of attribute line
5 6 7 |
# File 'lib/minilex.rb', line 5 def line @line end |
#offset ⇒ Object
Returns the value of attribute offset
5 6 7 |
# File 'lib/minilex.rb', line 5 def offset @offset end |