Method: Fuzz.root_path

Defined in:
lib/fuzz/fuzz.rb

.root_pathObject



22
23
24
25
26
# File 'lib/fuzz/fuzz.rb', line 22

def self.root_path
  f = File.expand_path(__FILE__)
  f = File.expand_path(File.readlink(f)) if File.symlink?(f)
  File.dirname(f)
end