Browse files

Use instance variables instead of methods

  • Loading branch information...
1 parent 3a83784 commit 204e49a574a90c3c077fd78491bc5c46cddcf9f8 @jnunemaker jnunemaker committed Oct 11, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/plucky/options_hash.rb
View
6 lib/plucky/options_hash.rb
@@ -28,19 +28,19 @@ def [](key)
def []=(key, value)
key = normalized_key(key)
- source[key] = normalized_value(key, value)
+ @source[key] = normalized_value(key, value)
end
def keys
@source.keys
end
def ==(other)
- source == other.source
+ @source == other.source
end
def to_hash
- source
+ @source
end
def fields?

0 comments on commit 204e49a

Please sign in to comment.