Class: Pod::Command::Binary::Fetch
- Inherits:
- 
      Pod::Command::Binary
      
        - Object
- Pod::Command
- Pod::Command::Binary
- Pod::Command::Binary::Fetch
 
- Defined in:
- lib/command/fetch.rb
Instance Method Summary collapse
- 
  
    
      #initialize(argv)  ⇒ Fetch 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Fetch. 
- #run ⇒ Object
Methods inherited from Pod::Command::Binary
#load_podfile, options, #prebuild_config, #update_cli_config
Constructor Details
#initialize(argv) ⇒ Fetch
Returns a new instance of Fetch.
| 8 9 10 11 12 13 14 | # 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 | 
Instance Method Details
#run ⇒ Object
| 16 17 18 | # File 'lib/command/fetch.rb', line 16 def run @fetcher.run end |