Method: RBS::Types::UntypedFunction#each_type

Defined in:
lib/rbs/types.rb

#each_type(&block) ⇒ Object



1237
1238
1239
1240
1241
1242
1243
# File 'lib/rbs/types.rb', line 1237

def each_type(&block)
  if block
    yield return_type
  else
    enum_for :each_type
  end
end