Method: BitAnalytics#initialize
- Defined in:
- lib/bit_analytics.rb
#initialize(options = nil) ⇒ BitAnalytics
Returns a new instance of BitAnalytics.
7 8 9 10 11 12 13 |
# File 'lib/bit_analytics.rb', line 7 def initialize(=nil) @redis = if Redis.new() else Redis.new end end |