Object
# File rbs-2.1.0/lib/rbs/types.rb, line 355 def map_type(&block) if block Alias.new( name: name, args: args.map {|type| yield type }, location: location ) else enum_for :map_type end end
# File rbs-2.1.0/lib/rbs/types.rb, line 347 def map_type_name(&block) Alias.new( name: yield(name, location, self), args: args.map {|arg| arg.map_type_name(&block) }, location: location ) end