Module: RBS::Types::SelfTypeBindingHelper

Defined in:
lib/rbs/types.rb

Class Method Summary collapse

Class Method Details

.self_type_binding_to_s(t) ⇒ Object



1226
1227
1228
1229
1230
1231
1232
# File 'lib/rbs/types.rb', line 1226

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