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



14
15
16
# File 'lib/constants.rb', line 14

def index
  @index
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



14
15
16
# File 'lib/constants.rb', line 14

def line
  @line
end

Instance Method Details

#to_sObject



15
16
17
# File 'lib/constants.rb', line 15

def to_s
  line
end