Class: Orbacle::MainType

Inherits:
Object
  • Object
show all
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

Returns:

  • (Boolean)


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

def bottom?
  false
end

#each_possible_typeObject



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

def each_possible_type
end

#hashObject



12
13
14
15
16
# File 'lib/orbacle/main_type.rb', line 12

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