lib/jive.rb in jive-0.2.0 vs lib/jive.rb in jive-0.2.1
- old
+ new
@@ -9,9 +9,13 @@
require "jive/version"
module Jive
class Error < StandardError; end
+ def self.root
+ @root ||= Pathname.new(__FILE__).parent.parent
+ end
+
def self.run(tasks)
Jive::BatchRunner.new.run(tasks)
end
end