module Pod::Extension::Development::SourceDSL
Public Instance Methods
pod(name = nil, *requirements)
click to toggle source
# File lib/cocoapods-extension/development/dsl.rb, line 20 def pod(name = nil, *requirements) unless name raise StandardError, 'A development requires a name.' end @current_domain_definition.store_pod(name, *requirements) end
source(domain, options = nil) { || ... }
click to toggle source
# File lib/cocoapods-extension/development/dsl.rb, line 9 def source(domain, options = nil) if options raise Informative, "Unsupported options `#{options}` for domain `#{domain}`." end @current_domain_definition = Pod::Extension::SourceDefinition::new(domain, @parent) yield if block_given? ensure @current_domain_definition = nil end