Class: Twitter::Geo
- Inherits:
-
Base
- Object
- Base
- 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)
-
- (Object) coordinates
(also: #coords)
readonly
Returns the value of attribute coordinates.
Instance Method Summary (collapse)
Methods inherited from Base
#[], #attr_equal, attr_reader, #attrs, #attrs_equal, fetch, fetch_or_new, from_response, identity_map, #initialize, store, #update
Constructor Details
This class inherits a constructor from Twitter::Base
Instance Attribute Details
- (Object) coordinates (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
- (Boolean) ==(other)
10 11 12 |
# File 'lib/twitter/geo.rb', line 10 def ==(other) super || attr_equal(:coordinates, other) || attrs_equal(other) end |