summaryrefslogtreecommitdiff
path: root/lib/shell/command-processor.rb
diff options
context:
space:
mode:
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 ae157eb..da7fecf 100644
--- a/lib/shell/command-processor.rb
+++ b/lib/shell/command-processor.rb
@@ -335,7 +335,7 @@ class Shell
end
# %pwd, %cwd -> @pwd
- def notify(*opts, &block)
+ def notify(*opts)
Shell.notify(*opts) {|mes|
yield mes if iterator?
@@ -407,7 +407,7 @@ class Shell
def self.alias_map
@alias_map
end
- def self.alias_command(ali, command, *opts, &block)
+ def self.alias_command(ali, command, *opts)
ali = ali.id2name if ali.kind_of?(Symbol)
command = command.id2name if command.kind_of?(Symbol)
begin