diff options
author | Florian Frank <flori@ping.de> | 2015-05-15 17:41:59 +0200 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2015-05-15 17:41:59 +0200 |
commit | 73643a96b64f696fd43320e28601e557079f1461 (patch) | |
tree | 315256e66979681e6b7297d6205a9650156716cd | |
parent | cd8d83578675964a0dbe745e3e60e40d457bdbd0 (diff) | |
parent | 7dc8aaf45fe39dd969c610a78bd223098a09c4c2 (diff) | |
download | json-73643a96b64f696fd43320e28601e557079f1461.tar.gz |
Merge branch 'backport-r49161' of https://github.com/hsbt/json into be-compatible-with-ruby-2.2.1
-rw-r--r-- | lib/json/generic_object.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/json/generic_object.rb b/lib/json/generic_object.rb index 8b8fd53..3a14f0e 100644 --- a/lib/json/generic_object.rb +++ b/lib/json/generic_object.rb @@ -47,14 +47,6 @@ module JSON table end - def [](name) - table[name.to_sym] - end - - def []=(name, value) - __send__ "#{name}=", value - end - def |(other) self.class[other.to_hash.merge(to_hash)] end |