mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Removed old names of internal methods
This commit is contained in:
parent
a7b68e63c5
commit
dbcc224f38
1 changed files with 0 additions and 8 deletions
|
@ -176,10 +176,6 @@ class OpenStruct
|
||||||
end
|
end
|
||||||
private :modifiable?
|
private :modifiable?
|
||||||
|
|
||||||
# ::Kernel.warn("do not use OpenStruct#modifiable", uplevel: 1)
|
|
||||||
alias modifiable modifiable? # :nodoc:
|
|
||||||
protected :modifiable
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Used internally to defined properties on the
|
# Used internally to defined properties on the
|
||||||
# OpenStruct. It does this by using the metaprogramming function
|
# OpenStruct. It does this by using the metaprogramming function
|
||||||
|
@ -195,10 +191,6 @@ class OpenStruct
|
||||||
end
|
end
|
||||||
private :new_ostruct_member!
|
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
|
def freeze
|
||||||
@table.each_key {|key| new_ostruct_member!(key)}
|
@table.each_key {|key| new_ostruct_member!(key)}
|
||||||
super
|
super
|
||||||
|
|
Loading…
Add table
Reference in a new issue