Class: GeohashInt::Neighbors
- Inherits:
-
Struct
- Object
- Struct
- GeohashInt::Neighbors
- Defined in:
- lib/geohash_int.rb
Overview
Neighbors of an encoded coordinate.
Instance Attribute Summary collapse
-
#east ⇒ Object
Returns the value of attribute east.
-
#north ⇒ Object
Returns the value of attribute north.
-
#north_east ⇒ Object
Returns the value of attribute north_east.
-
#north_west ⇒ Object
Returns the value of attribute north_west.
-
#south ⇒ Object
Returns the value of attribute south.
-
#south_east ⇒ Object
Returns the value of attribute south_east.
-
#south_west ⇒ Object
Returns the value of attribute south_west.
-
#west ⇒ Object
Returns the value of attribute west.
Instance Attribute Details
#east ⇒ Object
Returns the value of attribute east
46 47 48 |
# File 'lib/geohash_int.rb', line 46 def east @east end |
#north ⇒ Object
Returns the value of attribute north
46 47 48 |
# File 'lib/geohash_int.rb', line 46 def north @north end |
#north_east ⇒ Object
Returns the value of attribute north_east
46 47 48 |
# File 'lib/geohash_int.rb', line 46 def north_east @north_east end |
#north_west ⇒ Object
Returns the value of attribute north_west
46 47 48 |
# File 'lib/geohash_int.rb', line 46 def north_west @north_west end |
#south ⇒ Object
Returns the value of attribute south
46 47 48 |
# File 'lib/geohash_int.rb', line 46 def south @south end |
#south_east ⇒ Object
Returns the value of attribute south_east
46 47 48 |
# File 'lib/geohash_int.rb', line 46 def south_east @south_east end |
#south_west ⇒ Object
Returns the value of attribute south_west
46 47 48 |
# File 'lib/geohash_int.rb', line 46 def south_west @south_west end |
#west ⇒ Object
Returns the value of attribute west
46 47 48 |
# File 'lib/geohash_int.rb', line 46 def west @west end |