class TypedRb::Types::TyError
Public Class Methods
new(node = nil)
click to toggle source
Calls superclass method
TypedRb::Types::Type::new
# File lib/typed/types/ty_error.rb, line 4 def initialize(node = nil) super(node) end
Public Instance Methods
compatible?(_relation, _other_type = :lt)
click to toggle source
# File lib/typed/types/ty_error.rb, line 12 def compatible?(_relation, _other_type = :lt) true end
to_s()
click to toggle source
# File lib/typed/types/ty_error.rb, line 8 def to_s 'error' end