Method: FileTransfer.file_paths
- Defined in:
- lib/filetransfer.rb
.file_paths(relative: false) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/filetransfer.rb', line 11 def self.file_paths(relative:false) x = @@files.map do |f| "#{"lib/" unless relative}filetransfer/#{f}" end if relative return x else return x + ['lib/filetransfer.rb'] end end |