Method: RDL::Type::VarType#==

Defined in:
lib/rdl/types/var.rb

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



27
28
29
30
31
# File 'lib/rdl/types/var.rb', line 27

def ==(other)
  return false if other.nil?
  other = other.canonical
  return (other.instance_of? self.class) && (other.name.to_s == @name.to_s)
end