Sha256: 4d376efe814d10ee174461a2af08dafc2dcb0f30618b721ea956aacf84c66692

Contents?: true

Size: 281 Bytes

Versions: 5

Compression:

Stored size: 281 Bytes

Contents

require "#{$script_dir}/tasks/single-output-task.rb"

class CssTask < SingleOutputTask
  
  def self.task_name
    "css"
  end
  
  def output_type
    "css"
  end
  
  # CssTask handles files that end in .css
  def handles_file?(file_name)
    "#{file_name}"[/\.css$/]
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

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