Sha256: 4772e155351bfe5cdeead965d1558b3a98a72d61fdbee5590e141554e8c0196c

Contents?: true

Size: 317 Bytes

Versions: 5

Compression:

Stored size: 317 Bytes

Contents

class CopyTask < Task
  
  def self.task_name
    "copy"
  end
  
  def initialize(target, options)
    super(target, options)
    @files_to_exclude= @options.exclude.to_a
    @files_to_include= @options.include.to_a
  end    

  def need_to_build
    true
  end
  
  def handles_file?(file_name)
    true
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
distil-0.8.4 lib/tasks/copy-task.rb
distil-0.8.2 lib/tasks/copy-task.rb
distil-0.8.1 lib/tasks/copy-task.rb
distil-0.8.0 lib/tasks/copy-task.rb
distil-0.7.0 lib/tasks/copy-task.rb