Module: RBS::Types::SelfTypeBindingHelper

Defined in:
lib/rbs/types.rb

Class Method Summary collapse

Class Method Details

.self_type_binding_to_s(t) ⇒ Object



1329
1330
1331
1332
1333
1334
1335
# File 'lib/rbs/types.rb', line 1329

def self_type_binding_to_s(t)
  if t
    "[self: #{t}] "
  else
    ""
  end
end