# File lib/nanite/pid_file.rb, line 3 def initialize(identity, options) @pid_dir = File.expand_path(options[:pid_dir] || options[:root] || Dir.pwd) @pid_file = File.join(@pid_dir, "nanite.#{identity}.pid") end