summaryrefslogtreecommitdiffstats
path: root/lib/shell/command-processor.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-22 16:37:22 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-22 16:37:22 +0000
commitb93143a9f63d45f8500d774c190e7ef9429cb730 (patch)
treeaf2795092963cbc0019eeea417ffae1ba24637c2 /lib/shell/command-processor.rb
parent43afbeeac449321f03cb2a9c38572c0287d55b24 (diff)
downloadruby-b93143a9f63d45f8500d774c190e7ef9429cb730.tar.gz
ruby-b93143a9f63d45f8500d774c190e7ef9429cb730.tar.xz
ruby-b93143a9f63d45f8500d774c190e7ef9429cb730.zip
* object.c (rb_obj_clone): defer copying freezing state after
calling initialize_copy(). [ruby-dev:20276] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/shell/command-processor.rb')
-rw-r--r--lib/shell/command-processor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/shell/command-processor.rb b/lib/shell/command-processor.rb
index 0c65d3be3..07879567f 100644
--- a/lib/shell/command-processor.rb
+++ b/lib/shell/command-processor.rb
@@ -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 = [