--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Return a new FileList with the results of running <tt>sub</tt> against each element of the oringal list.
- !ruby/struct:SM::Flow::P 
  body: "Example:"
- !ruby/struct:SM::Flow::VERB 
  body: "  FileList['a.c', 'b.c'].sub(/\\.c$/, '.o')  =&gt; ['a.o', 'b.o']\n"
full_name: FileList#sub
is_singleton: false
name: sub
params: (pat, rep)
visibility: public
