From afb8f59b9333dadd5129c0862e5677c100c803a5 Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher Date: Tue, 3 Jan 2012 17:22:45 +0100 Subject: config: fix + add spec for [] and []= methods --- lib/zorglub/config.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/zorglub/config.rb b/lib/zorglub/config.rb index acf828e..44574a9 100644 --- a/lib/zorglub/config.rb +++ b/lib/zorglub/config.rb @@ -15,11 +15,11 @@ module Zorglub class << self # def [] k - options[k] + @options[k] end # def []= k, v - option[k]=v + @options[k]=v end # def view_base_path -- cgit v1.2.3