Class: Twitter::Size
Instance Attribute Summary collapse
-
#h ⇒ Object
(also: #height)
readonly
Returns the value of attribute h.
-
#resize ⇒ Object
readonly
Returns the value of attribute resize.
-
#w ⇒ Object
(also: #width)
readonly
Returns the value of attribute w.
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
#h ⇒ Object (readonly) Also known as: height
Returns the value of attribute h.
5 6 7 |
# File 'lib/twitter/size.rb', line 5 def h @h end |
#resize ⇒ Object (readonly)
Returns the value of attribute resize.
5 6 7 |
# File 'lib/twitter/size.rb', line 5 def resize @resize end |
#w ⇒ Object (readonly) Also known as: width
Returns the value of attribute w.
5 6 7 |
# File 'lib/twitter/size.rb', line 5 def w @w end |
Instance Method Details
#==(other) ⇒ Boolean
11 12 13 |
# File 'lib/twitter/size.rb', line 11 def ==(other) super || size_equal(other) || attrs_equal(other) end |