Class: MilkTea::Types::Error
- Inherits:
-
Base
- Object
- Base
- MilkTea::Types::Error
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?
Instance Method Details
#eql?(other) ⇒ Boolean
Also known as:
==
236
237
238
|
# File 'lib/milk_tea/core/types/types.rb', line 236
def eql?(other)
other.is_a?(Error)
end
|
#hash ⇒ Object
242
243
244
|
# File 'lib/milk_tea/core/types/types.rb', line 242
def hash
self.class.hash
end
|
#to_s ⇒ Object
246
247
248
|
# File 'lib/milk_tea/core/types/types.rb', line 246
def to_s
"<error>"
end
|