Method: RBS::Types::Tuple#sub

Defined in:
lib/rbs/types.rb

#sub(s) ⇒ Object



326
327
328
329
# File 'lib/rbs/types.rb', line 326

def sub(s)
  self.class.new(types: types.map {|ty| ty.sub(s) },
                 location: location)
end