Method: Extruder::FileSet#will_save
- Defined in:
- lib/extruder/file_set.rb
#will_save ⇒ Array<FileWrapper>
Select files in this Extruder::FileSet which will be saved to disk if #create is run. The save flag is set true for any file that passed through a filter.
126 127 128 |
# File 'lib/extruder/file_set.rb', line 126 def will_save files.select { |file| file.save } end |