Class: AsProject::WinRemoteFileTask
- Inherits:
-
AbstractRemoteFileTask
- Object
- Rake::TaskLib
- RemoteFileLoader
- AbstractRemoteFileTask
- AsProject::WinRemoteFileTask
- Defined in:
- lib/tasks/remote_file_task.rb
Instance Attribute Summary
Attributes inherited from AbstractRemoteFileTask
#extracted_file, #mounted_path, #name, #url
Instance Method Summary collapse
Methods inherited from AbstractRemoteFileTask
#define, #downloaded_file_path, #extracted_file_path, #get_remote_file, #initialize, #make_downloaded_dir, #remote_file_dir, #remote_location
Methods inherited from RemoteFileLoader
#fetch, #is_dmg?, #is_exe?, #is_gzip?, #is_swc?, #is_targz?, #is_zip?, #unpack_dmg, #unpack_downloaded_file, #unpack_targz, #unpack_zip
Constructor Details
This class inherits a constructor from AsProject::AbstractRemoteFileTask
Instance Method Details
#clean_path(path) ⇒ Object
177 178 179 180 181 182 183 |
# File 'lib/tasks/remote_file_task.rb', line 177 def clean_path(path) path = path.split('/').join(File::SEPARATOR) if(path.index(' ')) return %{"#{path}"} end return path end |