summaryrefslogtreecommitdiff
path: root/lib/ostruct.rb
diff options
context:
space:
mode:
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 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