Module: PurgecssSprockets

Defined in:
lib/purgecss_sprockets.rb,
lib/purgecss_sprockets/railtie.rb,
lib/purgecss_sprockets/version.rb,
lib/purgecss_sprockets/post_processor.rb,
lib/generators/purgecss_sprockets/install_generator.rb

Defined Under Namespace

Modules: Generators Classes: Error, PostProcessor, Railtie

Constant Summary collapse

VERSION =
"0.1.3"

Class Attribute Summary collapse

Class Attribute Details

.disabledObject



12
13
14
# File 'lib/purgecss_sprockets.rb', line 12

def disabled
  @disabled ||= false
end

.exclude_filesObject



16
17
18
# File 'lib/purgecss_sprockets.rb', line 16

def exclude_files
  @exclude_files ||= []
end

.purgecss_cmdObject



20
21
22
# File 'lib/purgecss_sprockets.rb', line 20

def purgecss_cmd
  @purgecss_cmd ||= "node node_modules/purgecss/bin/purgecss.js"
end