Sha256: db15cd453d8bbf73c79f04f981704644ec7153c19940ce86fa9a0161ebb329bf

Contents?: true

Size: 221 Bytes

Versions: 14

Compression:

Stored size: 221 Bytes

Contents

require 'equalizer'
require 'twitter/base'

module Twitter
  class Size < Twitter::Base
    include Equalizer.new(:h, :w)
    attr_reader :h, :resize, :w
    alias_method :height, :h
    alias_method :width, :w
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
twitter-5.11.0 lib/twitter/size.rb
twitter-5.10.0 lib/twitter/size.rb
twitter-5.9.0 lib/twitter/size.rb
twitter-5.8.0 lib/twitter/size.rb
twitter-5.7.1 lib/twitter/size.rb
twitter-5.7.0 lib/twitter/size.rb
twitter-5.6.0 lib/twitter/size.rb
twitter-5.5.1 lib/twitter/size.rb
twitter-5.5.0 lib/twitter/size.rb
twitter-5.4.1 lib/twitter/size.rb
twitter-5.4.0 lib/twitter/size.rb
twitter-5.3.1 lib/twitter/size.rb
twitter-5.3.0 lib/twitter/size.rb
twitter-5.2.0 lib/twitter/size.rb