Method: TConsole::Config.run
- Defined in:
- lib/tconsole/config.rb
.run(&block) ⇒ Object
Saves a configuration block that we can apply to the configuration once it’s loaded
149 150 151 152 |
# File 'lib/tconsole/config.rb', line 149 def self.run(&block) @loaded_configs ||= [] @loaded_configs << block end |