summaryrefslogtreecommitdiff
path: root/lib/ostruct.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-05 05:27:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-05 05:27:31 +0000
commit39ad417562f410232bc4712b512475e8b585b4f5 (patch)
treea76870ddb86d2503bef5538883118df2957636ed /lib/ostruct.rb
parent32636e8ef18cdfdee70ea22ed937ca1328e5ff31 (diff)
ostruct.rb: table
* lib/ostruct.rb (OpenStruct#table): revert for JSON. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/ostruct.rb')
-rw-r--r--lib/ostruct.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ostruct.rb b/lib/ostruct.rb
index 9e2761d..fe1b3d0 100644
--- a/lib/ostruct.rb
+++ b/lib/ostruct.rb
@@ -255,9 +255,8 @@ class OpenStruct
alias :to_s :inspect
attr_reader :table # :nodoc:
+ protected :table
alias table! table
- undef table
- protected :table!
#
# Compares this object and +other+ for equality. An OpenStruct is equal to