Skip to content

Commit

Permalink
Add help for #to_json.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bleigh committed Aug 30, 2011
1 parent 35b3aaf commit 27bf4f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/redis/value.rb
Expand Up @@ -36,6 +36,7 @@ def inspect

def ==(other); value == other end
def nil?; value.nil? end
def to_json; value.to_json end

def method_missing(*args)
self.value.send *args
Expand Down

0 comments on commit 27bf4f7

Please sign in to comment.