Module: RBS::Types::SelfTypeBindingHelper

Defined in:
lib/rbs/types.rb

Class Method Summary collapse

Class Method Details

.self_type_binding_to_s(t) ⇒ Object



1353
1354
1355
1356
1357
1358
1359
# File 'lib/rbs/types.rb', line 1353

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