Sha256: 833ebf970ef469763299ce8a58a1cdfd0d00d20fa732b241a1010fd908d29d37

Contents?: true

Size: 227 Bytes

Versions: 4

Compression:

Stored size: 227 Bytes

Contents

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

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

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
distil-0.10.4 lib/tasks/css-task.rb
distil-0.10.3 lib/tasks/css-task.rb
distil-0.10.1 lib/tasks/css-task.rb
distil-0.10.0 lib/tasks/css-task.rb