Class: Pod::Command::Binary::Push
- Inherits:
-
Pod::Command::Binary
- Object
- Pod::Command
- Pod::Command::Binary
- Pod::Command::Binary::Push
- Defined in:
- lib/command/push.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ Push
constructor
A new instance of Push.
- #run ⇒ Object
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
#run ⇒ Object
16 17 18 |
# File 'lib/command/push.rb', line 16 def run @pusher.run end |