Module: Pod::Specification::DSL::Deprecations

Included in:
Pod::Specification
Defined in:
lib/cocoapods-core/specification/dsl/deprecations.rb

Overview

Provides warning and errors for the deprecated attributes of the DSL.

Instance Method Summary collapse

Instance Method Details

#preferred_dependency=(name) ⇒ Object



7
8
9
10
11
# File 'lib/cocoapods-core/specification/dsl/deprecations.rb', line 7

def preferred_dependency=(name)
  self.default_subspecs = [name]
  CoreUI.warn "[#{self}] `preferred_dependency` has been renamed "\
    'to `default_subspecs`.'
end