Method: Thor::Actions#destination_root
- Defined in:
- lib/thor/actions.rb
#destination_root ⇒ Object
Returns the root for this thor class (also aliased as destination root).
100 101 102 |
# File 'lib/thor/actions.rb', line 100 def destination_root @destination_stack.last end |