lib/cocoapods-core/specification/dsl/attribute_support.rb
# Creates an attribute with the given name and options and stores it in
# the {DSL.attributes} hash.
#
# @param  [String] name
#         The name of the attribute.
#
# @param  [Hash] options
#         The options used to initialize the attribute.
#
# @return [void]
#
# @visibility private
#
Creates an attribute with the given name and options and stores it in
the {DSL.attributes} hash.
Creates an attribute with the given name and options and stores it in the { DSL . attributes } hash .
def store_attribute(name, options)
          attr = Attribute.new(name, options)
          @attributes ||= {}
          @attributes[name] = attr
        end
def store_attribute ( name , options ) attr = Attribute . new ( name , options ) @attributes ||= { } @attributes [ name ] = attr end
Creates an attribute with the given name and options and stores it in
the {DSL.attributes} hash.
Creates an attribute with the given name and options and stores it in the { DSL . attributes } hash .
None
void
name
<not_specific>
options
<not_specific>
<not_specific>
options The options used to initialize the attribute.
options The options used to initialize the attribute .
visibility
None