lib/metric_fu/base.rb in p8-metric_fu-0.8.4.5 vs lib/metric_fu/base.rb in p8-metric_fu-0.8.4.6
- old
+ new
@@ -9,16 +9,16 @@
CODE_DIRS = ['app', 'lib']
else
CODE_DIRS = ['lib']
end
- def open_in_browser?
+ def self.open_in_browser?
if defined?(MetricFu::OPEN_IN_BROWSER)
PLATFORM['darwin'] && MetricFu::OPEN_IN_BROWSER
else
PLATFORM['darwin']
end
- end
+ end
module Base
######################################################################
# Base class for report Generators
\ No newline at end of file