Module: Rack::App::SingletonMethods::Settings
- Included in:
- Rack::App::SingletonMethods
- Defined in:
- lib/rack/app/singleton_methods/settings.rb
Instance Method Summary collapse
Instance Method Details
#cli(&block) ⇒ Object
3 4 5 6 7 |
# File 'lib/rack/app/singleton_methods/settings.rb', line 3 def cli(&block) @cli ||= Rack::App::CLI.new @cli.instance_exec(&block) unless block.nil? @cli end |