123456789_123456789_123456789_123456789_123456789_

Module: RBS::Types::EmptyEachType

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: lib/rbs/types.rb

Instance Method Summary

Instance Method Details

#each_type

[ GitHub ]

  
# File 'lib/rbs/types.rb', line 24

def each_type
  if block_given?
    # nop
  else
    enum_for :each_type
  end
end

#map_type(&block)

[ GitHub ]

  
# File 'lib/rbs/types.rb', line 32

def map_type(&block)
  if block
    _ = self
  else
    enum_for(:map_type)
  end
end