module RBS::Types::EmptyEachType

Public Instance Methods

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