Returns an array of photo sizes
@return [Array<Twitter::Size>]
# File lib/twitter/configuration.rb, line 12 def photo_sizes @photo_sizes ||= Array(@attrs[:photo_sizes]).inject({}) do |object, (key, value)| object[key] = Twitter::Size.fetch_or_new(value) object end end
Generated with the Darkfish Rdoc Generator 2.