Class: Pod::MasterSource

Inherits:
Source
  • Object
show all
Defined in:
lib/cocoapods-core/master_source.rb

Instance Attribute Summary

Attributes inherited from Source

#metadata, #repo

Updating the source collapse

Methods inherited from Source

#<=>, #all_specs, #fuzzy_search, #git?, #initialize, #inspect, #metadata_path, #name, #pod_path, #pod_sets, #pods, #pods_for_specification_paths, #search, #search_by_name, #set, #specification, #specification_path, #specs_dir, #to_hash, #to_yaml, #type, #url, #verify_compatibility!, #versions

Constructor Details

This class inherits a constructor from Pod::Source

Instance Method Details

#update(show_output) ⇒ Array<String>

Updates the local clone of the source repo.



13
14
15
16
17
18
19
# File 'lib/cocoapods-core/master_source.rb', line 13

def update(show_output)
  if requires_update?
    super
  else
    []
  end
end