Class: Homebrew::DevCmd::Command

Inherits:
AbstractCommand show all
Defined in:
dev-cmd/command.rb

Instance Attribute Summary

Attributes inherited from AbstractCommand

#args

Instance Method Summary collapse

Methods inherited from AbstractCommand

command, command_name, #initialize, parser

Constructor Details

This class inherits a constructor from Homebrew::AbstractCommand

Instance Method Details

#runvoid

This method returns an undefined value.



19
20
21
22
23
24
25
# File 'dev-cmd/command.rb', line 19

def run
  args.named.each do |cmd|
    path = Commands.path(cmd)
    odie "Unknown command: #{cmd}" unless path
    puts path
  end
end