Method: Thrift::Union#==

Defined in:
lib/thrift/union.rb

#==(other) ⇒ Object Also known as: eql?



89
90
91
# File 'lib/thrift/union.rb', line 89

def ==(other)
  other.equal?(self) || other.instance_of?(self.class) && @setfield == other.get_set_field && @value == other.get_value
end