Class: Twitter::Size

Inherits:
Base
  • Object
show all
Defined in:
lib/twitter/size.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

Method Summary

Methods inherited from Base

#[], attr_reader, define_attribute_method, define_predicate_method, define_uri_method, display_uri_attr_reader, #initialize, object_attr_reader, predicate_attr_reader, uri_attr_reader

Methods included from Utils

flat_pmap, pmap

Constructor Details

This class inherits a constructor from Twitter::Base

Instance Attribute Details

#hInteger (readonly) Also known as: height

Returns:

  • (Integer)


8
9
10
# File 'lib/twitter/size.rb', line 8

def h
  @h
end

#resizeString (readonly)

Returns:

  • (String)


10
11
12
# File 'lib/twitter/size.rb', line 10

def resize
  @resize
end

#wInteger (readonly) Also known as: width

Returns:

  • (Integer)


8
9
10
# File 'lib/twitter/size.rb', line 8

def w
  @w
end