mirror of
https://github.com/jimeh/redistat.git
synced 2026-02-19 13:26:39 +00:00
Allow for configurable group separator
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user