Class: Homebrew::Cmd::UpdateReport

Inherits:
AbstractCommand show all
Defined in:
cmd/update-report.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.



32
33
34
35
36
37
38
# File 'cmd/update-report.rb', line 32

def run
  return output_update_report if $stdout.tty?

  redirect_stdout($stderr) do
    output_update_report
  end
end