From eaca48ca7633514498e3db153940d80360fc8676 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 18 Apr 2012 23:26:18 +0100 Subject: [PATCH] Keep the attribute writer together with the method definition --- lib/redistat.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/redistat.rb b/lib/redistat.rb index 96b0537..3258d7a 100644 --- a/lib/redistat.rb +++ b/lib/redistat.rb @@ -52,8 +52,6 @@ module Redistat class << self - attr_writer :group_separator - def buffer Buffer.instance end @@ -96,6 +94,7 @@ module Redistat def group_separator @group_separator ||= GROUP_SEPARATOR end + attr_writer :group_separator end end