Skip to content

Commit

Permalink
Get rid of another unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Aug 22, 2011
1 parent 19afa1e commit 4efe600
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions processor/subcmd.rb
Expand Up @@ -69,16 +69,6 @@ def add(subcmd_cb, subcmd_name=nil)
@cmdlist << subcmd_name
end

# Run subcmd_name with args using obj for the environent
def run( subcmd_name, arg)
entry=lookup(subcmd_name)
if entry
entry['callback'].send(arg)
else
@proc.undefined_cmd(entry.__class__.name, subcmd_name)
end
end

# help for subcommands
# Note: format of help is compatible with ddd.
def help(*args)
Expand Down

0 comments on commit 4efe600

Please sign in to comment.