Module: Abaci
- Defined in:
- lib/abaci.rb,
lib/abaci/store.rb,
lib/abaci/counter.rb,
lib/abaci/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
Class Method Details
.[](key) ⇒ Object
9 10 11 |
# File 'lib/abaci.rb', line 9 def [](key) Counter[key] end |
.options ⇒ Object
13 14 15 16 17 18 |
# File 'lib/abaci.rb', line 13 def @options ||= { :redis => nil, :prefix => 'ab' } end |
.prefix ⇒ Object
20 21 22 |
# File 'lib/abaci.rb', line 20 def prefix [:prefix] end |