Module: DockerBuilder::Config::Helpers::ClassMethods
- Defined in:
- lib/docker_builder/config/helpers.rb
Instance Method Summary collapse
-
#clear_defaults! ⇒ Object
Used only within the specs.
- #defaults ⇒ Object
- #deprecations ⇒ Object
Instance Method Details
#clear_defaults! ⇒ Object
Used only within the specs
25 26 27 |
# File 'lib/docker_builder/config/helpers.rb', line 25 def clear_defaults! defaults.reset! end |
#defaults ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'lib/docker_builder/config/helpers.rb', line 14 def defaults @defaults ||= Config::Defaults.new if block_given? yield @defaults else @defaults end end |
#deprecations ⇒ Object
29 30 31 |
# File 'lib/docker_builder/config/helpers.rb', line 29 def deprecations @deprecations ||= {} end |