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