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



39
40
41
# File 'lib/constants.rb', line 39

def index
  @index
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



39
40
41
# File 'lib/constants.rb', line 39

def line
  @line
end

Instance Method Details

#to_sObject



40
41
42
# File 'lib/constants.rb', line 40

def to_s
  line
end