class Utils::ConfigFile::BlockConfig

def lazy_config(name, &default)

Returns:
  • (Object) - returns self to allow for method chaining

Other tags:
    Yield: - optional block that provides the default value for

Parameters:
  • name (Object) -- the name of the configuration setting to define
def lazy_config(name, &default)
  self.config_settings ||= []
  config_settings << name.to_sym
  dsl_lazy_accessor(name, &default)
  self
end