struct Zap::Package::Overrides::Override
- Zap::Package::Overrides::Override
- Struct
- Value
- Object
Included Modules
- MessagePack::Serializable
- YAML::Serializable
Defined in:
package/overrides.crConstructors
- .new(name : String, version : String, specifier : String, parents : Array(Parent) | Nil = nil)
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : MessagePack::Unpacker)
Instance Method Summary
- #clone
- #copy_with(name _name = @name, version _version = @version, specifier _specifier = @specifier, parents _parents = @parents)
- #matched_parents(ancestors : Iterable(Package | Lockfile::Root)) : Array(Parent)
- #matches_ancestors?(ancestors : Iterable(Package | Lockfile::Root)) : Bool
- #matches_package?(metadata : Package) : Bool
- #name : String
- #parents : Array(Parent) | Nil
- #specifier : String
- #version : String
Constructor Detail
def self.new(name : String, version : String, specifier : String, parents : Array(Parent) | Nil = nil)
#
Instance Method Detail
def copy_with(name _name = @name, version _version = @version, specifier _specifier = @specifier, parents _parents = @parents)
#