lib/metric_fu.rb in metric_fu-4.10.0 vs lib/metric_fu.rb in metric_fu-4.11.0
- old
+ new
@@ -6,9 +6,21 @@
APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__),'..'))
LIB_ROOT = File.join(APP_ROOT,'lib/metric_fu')
module_function
+ def root
+ @app_root ||= Pathname(APP_ROOT)
+ end
+
+ def metric_url
+ 'https://github.com/metricfu/metric_fu'
+ end
+
+ def metric_name
+ 'MetricFu'
+ end
+
def run_dir
@run_dir ||= Dir.pwd
end
def run_path