Class: Parlour::Types::Self
Overview
Type equivalent to the receiver.
Instance Method Summary collapse
Methods inherited from Type
Instance Method Details
#==(other) ⇒ Object
460 461 462 |
# File 'lib/parlour/types.rb', line 460 def ==(other) Self === other end |
#describe ⇒ Object
475 476 477 |
# File 'lib/parlour/types.rb', line 475 def describe "self" end |
#generate_rbi ⇒ Object
465 466 467 |
# File 'lib/parlour/types.rb', line 465 def generate_rbi "T.self_type" end |
#generate_rbs ⇒ Object
470 471 472 |
# File 'lib/parlour/types.rb', line 470 def generate_rbs "self" end |