Module: Jets::Core::Config::Bootstrap::Code

Included in:
Jets::Core::Config::Bootstrap
Defined in:
lib/jets/core/config/bootstrap/code.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code.



3
4
5
# File 'lib/jets/core/config/bootstrap/code.rb', line 3

def code
  @code
end

Instance Method Details

#initializeObject



5
6
7
8
9
10
11
12
13
14
# File 'lib/jets/core/config/bootstrap/code.rb', line 5

def initialize(*)
  super

  @code = ActiveSupport::OrderedOptions.new
  @code.copy = ActiveSupport::OrderedOptions.new
  @code.copy.always_keep = ["config/jets/env"]
  @code.copy.always_remove = ["tmp"]
  @code.copy.strategy = "auto"
  @code.copy.warn_large = true
end