Method: CLI::UI::StdoutRouter.with_enabled
- Defined in:
- lib/cli/ui/stdout_router.rb
.with_enabled(&block) ⇒ Object
354 355 356 357 358 359 |
# File 'lib/cli/ui/stdout_router.rb', line 354 def with_enabled(&block) enable yield ensure disable end |