Method: LLVM::Type#eql?

Defined in:
lib/llvm/core/type.rb

#eql?(other) ⇒ Boolean

Checks if the type is equal to other.

Returns:

  • (Boolean)


19
20
21
# File 'lib/llvm/core/type.rb', line 19

def eql?(other)
  other.instance_of?(self.class) && self == other
end