Method: RBS::Types::Optional#map_type_name

Defined in:
lib/rbs/types.rb

#map_type_name(&block) ⇒ Object



700
701
702
703
704
705
# File 'lib/rbs/types.rb', line 700

def map_type_name(&block)
  Optional.new(
    type: type.map_type_name(&block),
    location: location
  )
end