Class: GeohashInt::Neighbors

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

Overview

Neighbors of an encoded coordinate.

Instance Attribute Summary collapse

Instance Attribute Details

#eastObject

Returns the value of attribute east

Returns:

  • (Object)

    the current value of east



46
47
48
# File 'lib/geohash_int.rb', line 46

def east
  @east
end

#northObject

Returns the value of attribute north

Returns:

  • (Object)

    the current value of north



46
47
48
# File 'lib/geohash_int.rb', line 46

def north
  @north
end

#north_eastObject

Returns the value of attribute north_east

Returns:

  • (Object)

    the current value of north_east



46
47
48
# File 'lib/geohash_int.rb', line 46

def north_east
  @north_east
end

#north_westObject

Returns the value of attribute north_west

Returns:

  • (Object)

    the current value of north_west



46
47
48
# File 'lib/geohash_int.rb', line 46

def north_west
  @north_west
end

#southObject

Returns the value of attribute south

Returns:

  • (Object)

    the current value of south



46
47
48
# File 'lib/geohash_int.rb', line 46

def south
  @south
end

#south_eastObject

Returns the value of attribute south_east

Returns:

  • (Object)

    the current value of south_east



46
47
48
# File 'lib/geohash_int.rb', line 46

def south_east
  @south_east
end

#south_westObject

Returns the value of attribute south_west

Returns:

  • (Object)

    the current value of south_west



46
47
48
# File 'lib/geohash_int.rb', line 46

def south_west
  @south_west
end

#westObject

Returns the value of attribute west

Returns:

  • (Object)

    the current value of west



46
47
48
# File 'lib/geohash_int.rb', line 46

def west
  @west
end