class LocalFileStrategy
Public Instance Methods
fetch()
click to toggle source
# File lib/lace/download_strategy.rb, line 49 def fetch ohai "Fetching #@uri into #@target_folder" FileUtils.cp_r @uri, @target_folder, :preserve => true @target_folder end
name()
click to toggle source
Calls superclass method
# File lib/lace/download_strategy.rb, line 55 def name super || File.basename(@uri) end