lib/redistat/scope.rb in redistat-0.3.0 vs lib/redistat/scope.rb in redistat-0.4.0

- old
+ new

@@ -1,18 +1,18 @@ module Redistat class Scope include Database - + def initialize(name) @name = name.to_s end - + def to_s @name end - + def next_id db.incr("#{@name}#{KEY_NEXT_ID}") end - + end -end \ No newline at end of file +end