Class: Parlour::Types::Untyped

Inherits:
Type
  • Object
show all
Defined in:
lib/parlour/types.rb

Overview

The explicit lack of a type.

Instance Method Summary collapse

Methods inherited from Type

#hash, #to_type, to_type

Instance Method Details

#==(other) ⇒ Object



483
484
485
# File 'lib/parlour/types.rb', line 483

def ==(other)
  Untyped === other
end

#describeObject



498
499
500
# File 'lib/parlour/types.rb', line 498

def describe
  "untyped"
end

#generate_rbiObject



488
489
490
# File 'lib/parlour/types.rb', line 488

def generate_rbi
  "T.untyped"
end

#generate_rbsObject



493
494
495
# File 'lib/parlour/types.rb', line 493

def generate_rbs
  "untyped"
end