Module: Pod::Podfile::DSL

Defined in:
lib/pod/podfile/dsl.rb

Instance Method Summary collapse

Instance Method Details

#rsync_source(source) ⇒ Object



4
5
6
7
8
# File 'lib/pod/podfile/dsl.rb', line 4

def rsync_source(source)
  hash_plugins = get_hash_value('plugins') || {"cocoapods-repo-rsync"=>{"sources"=>[]}}
  hash_plugins["cocoapods-repo-rsync"]["sources"] << source
  set_hash_value('plugins', hash_plugins)
end