Sha256: 0814c5a85237de99bf80da547b58352684b665df9c0967030b86eac73747a327

Contents?: true

Size: 283 Bytes

Versions: 4

Compression:

Stored size: 283 Bytes

Contents

require 'equalizer'
require 'twitter/base'

module Twitter
  class Size < Twitter::Base
    include Equalizer.new(:h, :w)
    # @return [Integer]
    attr_reader :h, :w
    # @return [String]
    attr_reader :resize
    alias_method :height, :h
    alias_method :width, :w
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twitter-5.15.0 lib/twitter/size.rb
twitter-5.14.0 lib/twitter/size.rb
twitter-5.13.0 lib/twitter/size.rb
twitter-5.12.0 lib/twitter/size.rb