mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* object.c (rb_obj_clone): defer copying freezing state after
calling initialize_copy(). [ruby-dev:20276] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
717302e2c4
commit
c3584231ba
5 changed files with 11 additions and 5 deletions
|
@ -31,7 +31,7 @@ class Shell
|
|||
install_builtin_commands
|
||||
|
||||
# define CommandProccessor#methods to Shell#methods and Filter#methods
|
||||
for m in CommandProcessor.instance_methods - NoDelegateMethods
|
||||
for m in CommandProcessor.instance_methods(false) - NoDelegateMethods
|
||||
add_delegate_command_to_shell(m)
|
||||
end
|
||||
|
||||
|
@ -558,7 +558,7 @@ class Shell
|
|||
|
||||
# method related FileTest
|
||||
def_builtin_commands(FileTest,
|
||||
FileTest.singleton_methods.collect{|m| [m, ["FILENAME"]]})
|
||||
FileTest.singleton_methods(false).collect{|m| [m, ["FILENAME"]]})
|
||||
|
||||
# method related ftools
|
||||
normal_delegation_ftools_methods = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue