Class: Location

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

Instance Attribute Summary collapse

Instance Attribute Details

#colObject

Returns the value of attribute col

Returns:

  • (Object)

    the current value of col



3
4
5
# File 'lib/janeway/location.rb', line 3

def col
  @col
end

#lengthObject

Returns the value of attribute length

Returns:

  • (Object)

    the current value of length



3
4
5
# File 'lib/janeway/location.rb', line 3

def length
  @length
end