Class: DockerApp::Config::Defaults

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/docker_app/config/helpers.rb

Overview

Store for pre-configured defaults.

Instance Method Summary collapse

Instance Method Details

#_attributesObject

Returns an Array of all attribute method names that default values were set for.



88
89
90
# File 'lib/docker_app/config/helpers.rb', line 88

def _attributes
  @table.keys
end

#reset!Object

Used only within the specs



93
94
95
# File 'lib/docker_app/config/helpers.rb', line 93

def reset!
  @table.clear
end