Class: Orbacle::BottomType

Inherits:
Object
  • Object
show all
Defined in:
lib/orbacle/bottom_type.rb

Instance Method Summary collapse

Instance Method Details

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



5
6
7
# File 'lib/orbacle/bottom_type.rb', line 5

def ==(other)
  other.class == self.class
end

#bottom?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/orbacle/bottom_type.rb', line 19

def bottom?
  true
end

#each_possible_typeObject



16
17
# File 'lib/orbacle/bottom_type.rb', line 16

def each_possible_type
end

#hashObject



9
10
11
12
13
# File 'lib/orbacle/bottom_type.rb', line 9

def hash
  [
    self.class,
  ].hash ^ BIG_VALUE
end