diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-10 09:01:08 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-10 14:13:17 +0900 |
commit | dbcc224f3883c810049ef620fac8a1b59bde2e69 (patch) | |
tree | 674c9f0bafd62efb52d845e908e27d4e1ff4b528 /lib | |
parent | a7b68e63c5dd9d366b0ddc17b16650560800f03a (diff) | |
download | ruby-dbcc224f3883c810049ef620fac8a1b59bde2e69.tar.gz |
Removed old names of internal methods
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ostruct.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/ostruct.rb b/lib/ostruct.rb index 7b232bf5a9..4d1f0ce4de 100644 --- a/lib/ostruct.rb +++ b/lib/ostruct.rb @@ -176,10 +176,6 @@ class OpenStruct end private :modifiable? - # ::Kernel.warn("do not use OpenStruct#modifiable", uplevel: 1) - alias modifiable modifiable? # :nodoc: - protected :modifiable - # # Used internally to defined properties on the # OpenStruct. It does this by using the metaprogramming function @@ -195,10 +191,6 @@ class OpenStruct end private :new_ostruct_member! - # ::Kernel.warn("do not use OpenStruct#new_ostruct_member", uplevel: 1) - alias new_ostruct_member new_ostruct_member! # :nodoc: - protected :new_ostruct_member - def freeze @table.each_key {|key| new_ostruct_member!(key)} super |