Module: TerraspaceBundler::Dsl::Syntax
- Included in:
- TerraspaceBundler::Dsl
- Defined in:
- lib/terraspace_bundler/dsl/syntax.rb
Instance Method Summary collapse
- #base_clone_url(value) ⇒ Object
- #clone_with(value) ⇒ Object
- #config ⇒ Object
- #export_purge(value) ⇒ Object
- #export_to(path) ⇒ Object
- #mod(*args, **options) ⇒ Object
- #org(value) ⇒ Object (also: #user)
- #stack_options(value = {}) ⇒ Object
Instance Method Details
#base_clone_url(value) ⇒ Object
8 9 10 |
# File 'lib/terraspace_bundler/dsl/syntax.rb', line 8 def base_clone_url(value) config.base_clone_url = value end |
#clone_with(value) ⇒ Object
24 25 26 |
# File 'lib/terraspace_bundler/dsl/syntax.rb', line 24 def clone_with(value) config.clone_with = value end |
#config ⇒ Object
28 29 30 |
# File 'lib/terraspace_bundler/dsl/syntax.rb', line 28 def config TB.config end |
#export_purge(value) ⇒ Object
16 17 18 |
# File 'lib/terraspace_bundler/dsl/syntax.rb', line 16 def export_purge(value) config.export_purge = value end |
#export_to(path) ⇒ Object
12 13 14 |
# File 'lib/terraspace_bundler/dsl/syntax.rb', line 12 def export_to(path) config.export_to = path end |
#mod(*args, **options) ⇒ Object
32 33 34 |
# File 'lib/terraspace_bundler/dsl/syntax.rb', line 32 def mod(*args, **) [:mods] << {args: args, options: } end |
#org(value) ⇒ Object Also known as: user
3 4 5 |
# File 'lib/terraspace_bundler/dsl/syntax.rb', line 3 def org(value) config.org = value end |
#stack_options(value = {}) ⇒ Object
20 21 22 |
# File 'lib/terraspace_bundler/dsl/syntax.rb', line 20 def (value={}) config..merge!(value) end |