class Pod::Downloader::Base
Public Instance Methods
execute_command(executable, command, raise_on_failure = false)
click to toggle source
# File lib/cocoapods/downloader.rb, line 139 def execute_command(executable, command, raise_on_failure = false) Executable.execute_command(executable, command, raise_on_failure) rescue CLAide::InformativeError => e raise DownloaderError, e.message end
ui_action(message) { || ... }
click to toggle source
Indicates that an action will be performed. The action is passed as a block.
@param [String] message
The message associated with the action.
@yield The action, this block is always executed.
@return [void]
# File lib/cocoapods/downloader.rb, line 155 def ui_action(message) UI.section(" > #{message}", '', 1) do yield end end
ui_message(message)
click to toggle source
Prints an UI
message.
@param [String] message
The message associated with the action.
@return [void]
# File lib/cocoapods/downloader.rb, line 184 def ui_message(message) UI.puts message end
ui_sub_action(message) { || ... }
click to toggle source
Indicates that a minor action will be performed. The action is passed as a block.
@param [String] message
The message associated with the action.
@yield The action, this block is always executed.
@return [void]
# File lib/cocoapods/downloader.rb, line 171 def ui_sub_action(message) UI.section(" > #{message}", '', 2) do yield end end