Class: Twitter::Geo
- Defined in:
- lib/twitter/geo.rb,
lib/twitter/geo/point.rb,
lib/twitter/geo/polygon.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#coordinates ⇒ Object
(also: #coords)
readonly
Returns the value of attribute coordinates.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#[], attr_reader, fetch, fetch_or_new, from_response, identity_map, #initialize, store, #update
Constructor Details
This class inherits a constructor from Twitter::Base
Instance Attribute Details
#coordinates ⇒ Object (readonly) Also known as: coords
Returns the value of attribute coordinates.
5 6 7 |
# File 'lib/twitter/geo.rb', line 5 def coordinates @coordinates end |
Instance Method Details
#==(other) ⇒ Boolean
10 11 12 |
# File 'lib/twitter/geo.rb', line 10 def ==(other) super || attr_equal(:coordinates, other) || attrs_equal(other) end |