Class: Pod::Command::Help

Inherits:
Pod::Command show all
Defined in:
lib/cocoapods/command/help.rb

Instance Method Summary collapse

Methods inherited from Pod::Command

options, parse, report_error, run

Methods included from Pod::Config::Mixin

#config

Constructor Details

#initialize(argv) ⇒ Help

Returns a new instance of Help.



7
8
9
10
# File 'lib/cocoapods/command/help.rb', line 7

def initialize(argv)
  @help_command = Pod::Command.parse(argv) unless argv.empty?
  super
end

Instance Method Details

#runObject



12
13
14
# File 'lib/cocoapods/command/help.rb', line 12

def run
  help_command.help!
end