Further name changes

This commit is contained in:
Pfeil, Scott Robert 2019-12-18 16:07:00 -05:00
parent e41f3039e4
commit 46e76f0b47

View File

@ -28,7 +28,7 @@ extension KeyedDecodingContainer where Key : CodingKey {
return models
}
public func decodeArrayIfPresent(codingKey: KeyedDecodingContainer<K>.Key) throws -> [MoleculeProtocol]? {
public func decodeMoleculesIfPresent(codingKey: KeyedDecodingContainer<K>.Key) throws -> [MoleculeProtocol]? {
return try decodeModelsIfPresent(codingKey: codingKey, typeCodingKey: TypeCodingKey.moleculeName) as? [MoleculeProtocol]
}
}