class Pod::Command::Binary::Fetch

Public Class Methods

new(argv) click to toggle source
Calls superclass method Pod::Command::Binary::new
# File lib/command/fetch.rb, line 8
def initialize(argv)
  super
  @fetcher = PodPrebuild::CacheFetcher.new(
    config: prebuild_config,
    cache_branch: argv.shift_argument || "master"
  )
end

Public Instance Methods

run() click to toggle source
# File lib/command/fetch.rb, line 16
def run
  @fetcher.run
end