Method: RDL::Type::StructuralType#==
- Defined in:
- lib/rdl/types/structural.rb
#==(other) ⇒ Object Also known as: eql?
:nodoc:
50 51 52 53 54 |
# File 'lib/rdl/types/structural.rb', line 50 def ==(other) # :nodoc: return false if other.nil? other = other.canonical return (other.instance_of? StructuralType) && (other.methods == @methods) end |