@param other [Twitter::Place] @return [Boolean]
# File lib/twitter/place.rb, line 21 def ==(other) other = coerce(other) if respond_to?(:coerce, true) super || kind_of?(self.class) && !woeid.nil? && other.respond_to?(:woeid) && woeid == other.woeid end
@return [String]
# File lib/twitter/place.rb, line 27 def country_code @attrs[:country_code] || @attrs[:countryCode] # rubocop:disable SymbolName end
@param other [Twitter::Place] @return [Boolean]
# File lib/twitter/place.rb, line 15 def eql?(other) super || instance_of?(other.class) && !woeid.nil? && other.respond_to?(:woeid) && woeid.eql?(other.woeid) end
Generated with the Darkfish Rdoc Generator 2.