class Pod::Specification

Public Class Methods

from_string(*args) click to toggle source
# File lib/pod_builder/install.rb, line 18
def self.from_string(*args)
  spec = swz_from_string(*args)
  
  if overrides = PodBuilder::Configuration.spec_overrides[spec.name]
    overrides.each do |k, v|
      if spec.attributes_hash[k].is_a?(Hash)
        current = spec.attributes_hash[k]
        spec.attributes_hash[k] = current.merge(v)
      else
        spec.attributes_hash[k] = v
      end
    end
  end
  
  spec
end