class Utils::ConfigFile::BlockConfig
def config(name, *r, &block)
-
(Object)
- returns self to allow for method chaining
Other tags:
- Yield: - optional block to be passed to the dsl_accessor method
Parameters:
-
r
(Array
) -- additional arguments passed to the dsl_accessor method -
name
(Object
) -- the name of the configuration setting
def config(name, *r, &block) self.config_settings ||= [] config_settings << name.to_sym dsl_accessor name, *r, &block self end