Class: Orbacle::MainType
- Inherits:
-
Object
- Object
- Orbacle::MainType
- Defined in:
- lib/orbacle/main_type.rb
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object Also known as: eql?
8 9 10 |
# File 'lib/orbacle/main_type.rb', line 8 def ==(other) self.class == other.class end |
#bottom? ⇒ Boolean
19 20 21 |
# File 'lib/orbacle/main_type.rb', line 19 def bottom? false end |
#each_possible_type ⇒ Object
5 6 |
# File 'lib/orbacle/main_type.rb', line 5 def each_possible_type end |
#hash ⇒ Object
12 13 14 15 16 |
# File 'lib/orbacle/main_type.rb', line 12 def hash [ self.class, ].hash ^ BIG_VALUE end |