Method: Foreman::Thor::Shell#with_padding
- Defined in:
- lib/foreman/vendor/thor/lib/thor/shell.rb
#with_padding ⇒ Object
Yields the given block with padding.
66 67 68 69 70 71 |
# File 'lib/foreman/vendor/thor/lib/thor/shell.rb', line 66 def with_padding shell.padding += 1 yield ensure shell.padding -= 1 end |