module RBS::Types::EmptyEachType

Public Instance Methods

each_type() click to toggle source
# File rbs-3.4.4/lib/rbs/types.rb, line 24
def each_type
  if block_given?
    # nop
  else
    enum_for :each_type
  end
end
map_type(&block) click to toggle source
# File rbs-3.4.4/lib/rbs/types.rb, line 32
def map_type(&block)
  if block
    _ = self
  else
    enum_for(:map_type)
  end
end