class Pod::Command::Env
Public Class Methods
new(argv)
click to toggle source
Calls superclass method
Pod::Command::new
# File lib/cocoapods/command/env.rb, line 14 def initialize(argv) super config.silent = false end
options()
click to toggle source
Calls superclass method
Pod::Command::options
# File lib/cocoapods/command/env.rb, line 9 def self.options options = [] options.concat(super.reject { |option, _| option == '--silent' }) end
Public Instance Methods
markdown_podfile()
click to toggle source
# File lib/cocoapods/command/env.rb, line 41 def markdown_podfile UI::ErrorReport.markdown_podfile end
plugins_string()
click to toggle source
# File lib/cocoapods/command/env.rb, line 45 def plugins_string UI::ErrorReport.plugins_string end
report()
click to toggle source
# File lib/cocoapods/command/env.rb, line 23 def report <<-EOS #{stack} #{executable_path} ### Plugins ``` #{plugins_string} ``` #{markdown_podfile} EOS end
run()
click to toggle source
# File lib/cocoapods/command/env.rb, line 19 def run UI.puts report end
stack()
click to toggle source
# File lib/cocoapods/command/env.rb, line 37 def stack UI::ErrorReport.stack end
Private Instance Methods
actual_path()
click to toggle source
# File lib/cocoapods/command/env.rb, line 61 def actual_path $PROGRAM_NAME end
executable_path()
click to toggle source
# File lib/cocoapods/command/env.rb, line 51 def executable_path <<-EOS ### Installation Source ``` Executable Path: #{actual_path} ``` EOS end