Method: Thor::Util.thor_root
- Defined in:
- lib/thor/util.rb
.thor_root ⇒ Object
Returns the root where thor files are located, depending on the OS.
192 193 194 |
# File 'lib/thor/util.rb', line 192 def thor_root File.join(user_home, ".thor").tr("\\", "/") end |