Class: Geoptima::LocationEverywhere
- Inherits:
-
LocationRange
- Object
- LocationRange
- Geoptima::LocationEverywhere
- Defined in:
- lib/geoptima/locationrange.rb
Instance Attribute Summary
Attributes inherited from LocationRange
Instance Method Summary collapse
- #include?(point) ⇒ Boolean
-
#initialize ⇒ LocationEverywhere
constructor
A new instance of LocationEverywhere.
- #to_s ⇒ Object
Methods inherited from LocationRange
everywhere, from, #initialize_min_max, test
Constructor Details
#initialize ⇒ LocationEverywhere
Returns a new instance of LocationEverywhere.
123 124 125 |
# File 'lib/geoptima/locationrange.rb', line 123 def initialize() super("-90,90,-180,180") end |
Instance Method Details
#include?(point) ⇒ Boolean
129 130 131 |
# File 'lib/geoptima/locationrange.rb', line 129 def include?(point) true end |
#to_s ⇒ Object
126 127 128 |
# File 'lib/geoptima/locationrange.rb', line 126 def to_s "everywhere" end |