twitter-status-bot/.gems/gems/twitter-5.11.0/lib/twitter/size.rb

12 lines
221 B
Ruby
Raw Normal View History

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