lib/cukeq.rb in cukeq-0.0.1.dev vs lib/cukeq.rb in cukeq-0.0.1.dev2
- old
+ new
@@ -33,9 +33,13 @@
module CukeQ
def self.identifier
@identifier ||= "#{Socket.gethostname}-#{Etc.getlogin}"
end
+
+ def self.root
+ @root ||= File.expand_path("~/.cukeq")
+ end
end
def log(*args)
str = [Time.now, *args].map { |e| e.inspect }.join " | "