Class: Lotus::Commands::Assets::Precompile

Inherits:
Object
  • Object
show all
Defined in:
lib/lotus/commands/assets/precompile.rb

Overview

Since:

  • 0.1.0

Instance Method Summary collapse

Constructor Details

#initialize(options, environment) ⇒ Precompile

Returns a new instance of Precompile.

Since:

  • 0.1.0



7
8
9
10
# File 'lib/lotus/commands/assets/precompile.rb', line 7

def initialize(options, environment)
  @options     = options
  @environment = environment
end

Instance Method Details

#startObject

Since:

  • 0.1.0



12
13
14
15
# File 'lib/lotus/commands/assets/precompile.rb', line 12

def start
  preload_applications
  precompile
end