Sha256: fd52f0439452610945572e4670b1e35140ba572ef08f2342d2683eb70273180c

Contents?: true

Size: 467 Bytes

Versions: 2

Compression:

Stored size: 467 Bytes

Contents

--- !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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facets-2.4.3 doc/ri/FileList/sub-i.yaml
facets-2.4.2 doc/ri/FileList/sub-i.yaml