Method: Thor::Actions#destination_root=
- Defined in:
- lib/thor/actions.rb
permalink #destination_root=(root) ⇒ Object
Sets the root for this thor class. Relatives path are added to the directory where the script was invoked and expanded.
106 107 108 109 |
# File 'lib/thor/actions.rb', line 106 def destination_root=(root) @destination_stack ||= [] @destination_stack[0] = File.(root || "") end |