lib/cocoapods-core/specification/dsl/platform_proxy.rb
# Defines a setter method for each attribute of the specification
# class, that forwards the message to the {#specification} using the
# {Specification#on_platform} method.
#
# @return [void]
#
Defines a setter method for each attribute of the specification
class, that forwards the message to the {#specification} using the
{Specification#on_platform} method.
Defines a setter method for each attribute of the specification class that forwards the message to the { #specification } using the { Specification#on_platform } method .
def method_missing(meth, *args, &block)
          return super unless attribute = attribute_for_method(meth)
          raise NoMethodError, "#{attribute} cannot be set per-platform" unless attribute.multi_platform?
          spec.store_attribute(attribute.name, args.first, platform)
        end
def method_missing ( meth , * args , & block ) return super unless attribute = attribute_for_method ( meth ) raise NoMethodError , "#{attribute} cannot be set per-platform" unless attribute . multi_platform? spec . store_attribute ( attribute . name , args . first , platform ) end
Defines a setter method for each attribute of the specification
class, that forwards the message to the {#specification} using the
{Specification#on_platform} method.
Defines a setter method for each attribute of the specification class that forwards the message to the { #specification } using the { Specification#on_platform } method .
None
void
meth
<not_specific>
args
<not_specific>
block
<not_specific>