Class: Lotus::Assets::Precompiler Private
- Inherits:
-
Object
- Object
- Lotus::Assets::Precompiler
- Defined in:
- lib/lotus/assets/precompiler.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Precompile all the assets, coming from all the applications and third party gems into the public directory of the project.
Instance Method Summary collapse
-
#initialize(configuration, duplicates) ⇒ Lotus::Assets::Precompiler
constructor
private
Return a new instance.
-
#run ⇒ Object
private
Start the process.
Constructor Details
#initialize(configuration, duplicates) ⇒ Lotus::Assets::Precompiler
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return a new instance
23 24 25 26 |
# File 'lib/lotus/assets/precompiler.rb', line 23 def initialize(configuration, duplicates) @configuration = configuration @duplicates = duplicates end |
Instance Method Details
#run ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Start the process
32 33 34 35 |
# File 'lib/lotus/assets/precompiler.rb', line 32 def run clear_public_directory precompile end |