Class: MilkTea::Types::TypeType
- Inherits:
-
Base
- Object
- Base
- MilkTea::Types::TypeType
show all
- Defined in:
- lib/milk_tea/core/types/types.rb
Instance Method Summary
collapse
Methods inherited from Base
#accept, #bitwise?, #boolean?, #children, #field_c_name, #float?, #integer?, #numeric?, #sendable?, #void?
Constructor Details
Returns a new instance of TypeType.
91
92
93
|
# File 'lib/milk_tea/core/types/types.rb', line 91
def initialize
freeze
end
|
Instance Method Details
#eql?(other) ⇒ Boolean
Also known as:
==
95
96
97
|
# File 'lib/milk_tea/core/types/types.rb', line 95
def eql?(other)
other.is_a?(TypeType)
end
|
#hash ⇒ Object
101
102
103
|
# File 'lib/milk_tea/core/types/types.rb', line 101
def hash
self.class.hash
end
|
#to_s ⇒ Object
106
107
108
|
# File 'lib/milk_tea/core/types/types.rb', line 106
def to_s
"type"
end
|