12 lines
221 B
Ruby
12 lines
221 B
Ruby
|
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
|