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