class MStrap::Defs::PkgDef
- MStrap::Defs::PkgDef
- MStrap::Defs::Def
- Reference
- Object
Defined in:
mstrap/defs/pkg_def.crConstructors
- .new(node : HCL::AST::Body, ctx : HCL::ExpressionContext)
- .new(name : String, version : Nil | String = nil)
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher)
- #merge!(other : self)
- #name : String
- #name=(name : String)
- #version : String | Nil
- #version=(version : String | Nil)
Instance methods inherited from class MStrap::Defs::Def
merge!(other : self)merge!(others : Array(self)) merge!
Constructor methods inherited from class MStrap::Defs::Def
new(node : HCL::AST::Body, ctx : HCL::ExpressionContext)
new
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.