Class: IndexedLine

Inherits:
Struct show all
Defined in:
lib/constants.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



58
59
60
# File 'lib/constants.rb', line 58

def index
  @index
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



58
59
60
# File 'lib/constants.rb', line 58

def line
  @line
end

Instance Method Details

#to_sObject



59
60
61
# File 'lib/constants.rb', line 59

def to_s
  line
end