class Orbacle::GenericType
Attributes
name[R]
parameters[R]
Public Class Methods
new(name, parameters)
click to toggle source
# File lib/orbacle/generic_type.rb, line 5 def initialize(name, parameters) @name = name @parameters = parameters end
Public Instance Methods
==(other)
click to toggle source
# File lib/orbacle/generic_type.rb, line 12 def ==(other) self.class == other.class && self.name == other.name && self.parameters == other.parameters end
Also aliased as: eql?
bottom?()
click to toggle source
# File lib/orbacle/generic_type.rb, line 31 def bottom? false end
each_possible_type() { |self| ... }
click to toggle source
# File lib/orbacle/generic_type.rb, line 27 def each_possible_type yield self end
hash()
click to toggle source
# File lib/orbacle/generic_type.rb, line 18 def hash [ self.class, self.name, self.parameters, ].hash ^ BIG_VALUE end