Class: Minilex::Pos

Inherits:
Struct
  • Object
show all
Defined in:
lib/minilex.rb

Instance Attribute Summary collapse

Instance Attribute Details

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



5
6
7
# File 'lib/minilex.rb', line 5

def line
  @line
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



5
6
7
# File 'lib/minilex.rb', line 5

def offset
  @offset
end