summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-03 17:22:45 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-03 17:22:45 +0100
commitafb8f59b9333dadd5129c0862e5677c100c803a5 (patch)
tree05afd3fc201a5d8835db610090f223809cebfc0a /lib
parente5d9e300774bb83e5c85a4c672b399772f8db330 (diff)
downloadzorglub-afb8f59b9333dadd5129c0862e5677c100c803a5.zip
zorglub-afb8f59b9333dadd5129c0862e5677c100c803a5.tar.gz
config: fix + add spec for [] and []= methods
Diffstat (limited to 'lib')
-rw-r--r--lib/zorglub/config.rb4
1 files changed, 2 insertions, 2 deletions
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