Method: Thor::Actions#in_root
- Defined in:
- lib/thor/actions.rb
permalink #in_root ⇒ Object
Goes to the root and execute the given block.
200 201 202 |
# File 'lib/thor/actions.rb', line 200 def in_root inside(@destination_stack.first) { yield } end |