Class: DockerBuilder::Config::Defaults
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- DockerBuilder::Config::Defaults
- Defined in:
- lib/docker_builder/config/helpers.rb
Overview
Store for pre-configured defaults.
Instance Method Summary collapse
-
#_attributes ⇒ Object
Returns an Array of all attribute method names that default values were set for.
-
#reset! ⇒ Object
Used only within the specs.
Instance Method Details
#_attributes ⇒ Object
Returns an Array of all attribute method names that default values were set for.
88 89 90 |
# File 'lib/docker_builder/config/helpers.rb', line 88 def _attributes @table.keys end |
#reset! ⇒ Object
Used only within the specs
93 94 95 |
# File 'lib/docker_builder/config/helpers.rb', line 93 def reset! @table.clear end |