Class: TechnoGate::Contao::CoffeescriptCompiler
- Defined in:
- lib/contao/coffeescript_compiler.rb
Instance Attribute Summary
Attributes inherited from Compiler
Instance Method Summary collapse
- #clean ⇒ Object
-
#initialize(options = {}) ⇒ CoffeescriptCompiler
constructor
A new instance of CoffeescriptCompiler.
Methods inherited from Compiler
Constructor Details
#initialize(options = {}) ⇒ CoffeescriptCompiler
Returns a new instance of CoffeescriptCompiler.
9 10 11 |
# File 'lib/contao/coffeescript_compiler.rb', line 9 def initialize( = {}) super end |
Instance Method Details
#clean ⇒ Object
13 14 15 16 17 |
# File 'lib/contao/coffeescript_compiler.rb', line 13 def clean FileUtils.rm_rf compiled_javascript_path.to_s if File.exists?(compiled_javascript_path) super end |