Module: TerraspaceBundler::Core
Constant Summary collapse
- @@logger =
nil
- @@update_mode =
false
Instance Method Summary collapse
- #config ⇒ Object
-
#dsl ⇒ Object
DSL is evaluated once lazily when it get used.
- #logger ⇒ Object
- #logger=(v) ⇒ Object
- #update_mode ⇒ Object (also: #update_mode?)
- #update_mode=(v) ⇒ Object
Instance Method Details
#config ⇒ Object
14 15 16 |
# File 'lib/terraspace_bundler/core.rb', line 14 def config Config.instance.config end |
#dsl ⇒ Object
DSL is evaluated once lazily when it get used
19 20 21 22 23 |
# File 'lib/terraspace_bundler/core.rb', line 19 def dsl dsl = Dsl.new dsl.run dsl end |
#logger ⇒ Object
6 7 8 |
# File 'lib/terraspace_bundler/core.rb', line 6 def logger config.logger end |
#logger=(v) ⇒ Object
10 11 12 |
# File 'lib/terraspace_bundler/core.rb', line 10 def logger=(v) @@logger = v end |
#update_mode ⇒ Object Also known as: update_mode?
27 28 29 |
# File 'lib/terraspace_bundler/core.rb', line 27 def update_mode @@update_mode end |
#update_mode=(v) ⇒ Object
32 33 34 |
# File 'lib/terraspace_bundler/core.rb', line 32 def update_mode=(v) @@update_mode = v end |