summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2015-05-15 17:41:59 +0200
committerFlorian Frank <flori@ping.de>2015-05-15 17:41:59 +0200
commit73643a96b64f696fd43320e28601e557079f1461 (patch)
tree315256e66979681e6b7297d6205a9650156716cd
parentcd8d83578675964a0dbe745e3e60e40d457bdbd0 (diff)
parent7dc8aaf45fe39dd969c610a78bd223098a09c4c2 (diff)
downloadjson-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.rb8
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