Class: Pod::Swift::PackageDescription::Dependency
Instance Attribute Summary
#parent, #raw
Instance Method Summary
collapse
#[], #dup_with_attrs, from_file, from_s, #initialize, #inspect, #name, #pkg_name, #root
Instance Method Details
#local? ⇒ Boolean
7
8
9
|
# File 'lib/cocoapods-spm/swift/package/dependency.rb', line 7
def local?
raw.key?("fileSystem")
end
|
#path ⇒ Object
15
16
17
|
# File 'lib/cocoapods-spm/swift/package/dependency.rb', line 15
def path
hash["path"]
end
|
#slug ⇒ Object
11
12
13
|
# File 'lib/cocoapods-spm/swift/package/dependency.rb', line 11
def slug
hash["identity"]
end
|