Module: Configurable::ConfigStructDefaults

Defined in:
lib/configurable.rb

Overview

Accessors for the class’ default configuration to add to the generated Config module.

Instance Attribute Summary collapse

Instance Attribute Details

#defaultsObject

The class’ default configuration object. This object is a frozen instance of the Config struct (which is a ConfigStruct::Struct created by the Macros.configurable_options method).



125
126
127
# File 'lib/configurable.rb', line 125

def defaults
  @defaults
end