Allow for configurable group separator

This commit is contained in:
David Czarnecki
2012-04-18 14:44:36 -04:00
parent a9cf3938cf
commit fa182e618d
7 changed files with 71 additions and 8 deletions

View File

@@ -52,6 +52,8 @@ module Redistat
class << self
attr_writer :group_separator
def buffer
Buffer.instance
end
@@ -91,6 +93,10 @@ module Redistat
connection.flushdb
end
def group_separator
@group_separator ||= GROUP_SEPARATOR
end
end
end