class Pod::Spec
Attributes
ios[RW]
osx[RW]
tvos[RW]
version[RW]
watchos[RW]
Public Class Methods
from_podspec(content)
click to toggle source
# File lib/swiftproj/pod.rb, line 9 def self.from_podspec(content) pod = eval(content) if pod.version.nil? raise Swiftproj::MissingPodspecVersionError.new end return pod end
new() { |self| ... }
click to toggle source
# File lib/swiftproj/pod.rb, line 17 def initialize() @ios = OS.new @osx = OS.new @tvos = OS.new @watchos = OS.new yield self if block_given? end
Public Instance Methods
==(spec)
click to toggle source
# File lib/swiftproj/pod.rb, line 29 def ==(spec) return false unless self.class == spec.class return false unless self.version == spec.version return false unless self.ios == spec.ios return false unless self.osx == spec.osx return false unless self.tvos == spec.tvos return false unless self.watchos == spec.watchos return true end
method_missing(*args)
click to toggle source
# File lib/swiftproj/pod.rb, line 25 def method_missing(*args) # do nothing end