class Pod::Command::Binary::Push

Public Class Methods

new(argv) click to toggle source
Calls superclass method Pod::Command::Binary::new
# 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

Public Instance Methods

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