lib/tabs/config.rb in tabs-0.8.0 vs lib/tabs/config.rb in tabs-0.8.1
- old
+ new
@@ -1,8 +1,16 @@
module Tabs
module Config
extend self
+ def decimal_precision
+ @decimal_precision ||= 5
+ end
+
+ def decimal_precision=(precision)
+ @decimal_precision = precision
+ end
+
def redis=(arg)
if arg.is_a?(Redis)
@redis = arg
else
@redis = Redis.new(arg)