class MStrap::Defs::PkgDef

Defined in:

mstrap/defs/pkg_def.cr

Constructors

Instance Method Summary

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

def self.new(node : HCL::AST::Body, ctx : HCL::ExpressionContext) #

[View source]
def self.new(name : String, version : Nil | String = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def merge!(other : self) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def version : String | Nil #

[View source]
def version=(version : String | Nil) #

[View source]