Class: Pod::Command::Binary::Push

Inherits:
Pod::Command::Binary show all
Defined in:
lib/command/push.rb

Instance Method Summary collapse

Methods inherited from Pod::Command::Binary

#load_podfile, options, #prebuild_config, #update_cli_config

Constructor Details

#initialize(argv) ⇒ Push

Returns a new instance of Push.



8
9
10
11
12
13
14
# File 'lib/command/push.rb', line 8

def initialize(argv)
  super
  @pusher = PodPrebuild::CachePusher.new(
    config: prebuild_config,
    cache_branch: argv.shift_argument || "master"
  )
end

Instance Method Details

#runObject



16
17
18
# File 'lib/command/push.rb', line 16

def run
  @pusher.run
end