Method: Fuzz.root_path
- Defined in:
- lib/fuzz/fuzz.rb
.root_path ⇒ Object
22 23 24 25 26 |
# File 'lib/fuzz/fuzz.rb', line 22 def self.root_path f = File.(__FILE__) f = File.(File.readlink(f)) if File.symlink?(f) File.dirname(f) end |