Method: Pod::Specification::DSL::AttributeSupport#attribute
- Defined in:
- lib/cocoapods-core/specification/dsl/attribute_support.rb
#attribute(name, options = {}) ⇒ void
This method returns an undefined value.
Defines an attribute for the extended class.
Regular attributes in general support inheritance and multi-platform values, so resolving them for a given specification is not trivial.
47 48 49 |
# File 'lib/cocoapods-core/specification/dsl/attribute_support.rb', line 47 def attribute(name, = {}) store_attribute(name, ) end |