Method: Thor::Actions#in_root

Defined in:
lib/thor/actions.rb

#in_rootObject

Goes to the root and execute the given block.

[View source]

200
201
202
# File 'lib/thor/actions.rb', line 200

def in_root
  inside(@destination_stack.first) { yield }
end