diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-05 05:27:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-05 05:27:31 +0000 |
commit | 39ad417562f410232bc4712b512475e8b585b4f5 (patch) | |
tree | a76870ddb86d2503bef5538883118df2957636ed /lib/ostruct.rb | |
parent | 32636e8ef18cdfdee70ea22ed937ca1328e5ff31 (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.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ostruct.rb b/lib/ostruct.rb index 9e2761dad9..fe1b3d0fcd 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 |