Module: RBS::Types::SelfTypeBindingHelper

Defined in:
lib/rbs/types.rb

Class Method Summary collapse

Class Method Details

.self_type_binding_to_s(t) ⇒ Object



1230
1231
1232
1233
1234
1235
1236
# File 'lib/rbs/types.rb', line 1230

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