Class: Token::Position

Inherits:
Object
  • Object
show all
Defined in:
lib/tokens/token.rb

Instance Attribute Summary collapse

Instance Attribute Details

#character ⇒ Object

Returns the value of attribute character.



78
79
80
# File 'lib/tokens/token.rb', line 78

def character
  @character
end

#line ⇒ Object

Returns the value of attribute line.



77
78
79
# File 'lib/tokens/token.rb', line 77

def line
  @line
end