summaryrefslogtreecommitdiff
path: root/lib/shell/command-processor.rb
diff options
context:
space:
mode:
-rw-r--r--lib/shell/command-processor.rb4
1 files changed, 2 insertions, 2 deletions
@@ -26,7 +26,7 @@ class Shell
#
m = [:initialize, :expand_path]
if Object.methods.first.kind_of?(String)
- NoDelegateMethods = m.collect{|m| m.id2name}
else
NoDelegateMethods = m
end
@@ -124,7 +124,7 @@ class Shell
f = File.open(path, mode, perm)
File.chmod(perm & [email protected], path)
if block_given?
- f.each &b
end
f
else