Method: Terraspace::Mod#root
- Defined in:
- lib/terraspace/mod.rb
#root ⇒ Object
61 62 63 64 65 66 67 68 |
# File 'lib/terraspace/mod.rb', line 61 def root root = paths.find { |p| File.exist?(p) } if root.nil? possible_fake_root else root end end |