Parent

Methods

Class/Module Index [+]

Quicksearch

Twitter::Size

Attributes

h[R]
height[R]
resize[R]
w[R]
width[R]

Public Instance Methods

==(other) click to toggle source

@param other [Twitter::Size] @return [Boolean]

# File lib/twitter/size.rb, line 11
def ==(other)
  super || size_equal(other) || attrs_equal(other)
end

Protected Instance Methods

size_equal(other) click to toggle source

@param other [Twitter::Size] @return [Boolean]

# File lib/twitter/size.rb, line 19
def size_equal(other)
  self.class == other.class && !other.h.nil? && h == other.h && !other.w.nil? && w == other.w
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.