class Data::Cookbook

Included Modules

Defined in:

data/cookbook.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

to_toml : String to_toml

Constructor Detail

def self.new(recipes : Nil | Array(Data::Recipe), config : Nil | Data::Config, workdir : Nil | String, logger : Logger | Nil) #

[View source]

Instance Method Detail

def config : Config #

def config=(v : Config) : Config #

def config=(v : Nil) #

nil assignments are always ignored


def config? : Config | Nil #

def each(*args, **options) #

[View source]
def each(*args, **options, &) #

[View source]
def execute : Cooked #

executes all recipes and stores those result into cocked.


[View source]
def logger : Logger #

def logger=(v : Logger) : Logger #

def logger=(v : Nil) #

nil assignments are always ignored


def logger? : Logger | Nil #

def plan(verbose : Bool, bytes : Int32) : String #

[View source]
def recipes : Array(Recipe) #

def recipes=(v : Array(Recipe)) : Array(Recipe) #

def recipes=(v : Nil) #

nil assignments are always ignored


def recipes? : Array(Recipe) | Nil #

def to(klass : Recipe.class) : Cookbook #

[View source]
def workdir : String #

def workdir=(v : String) : String #

def workdir=(v : Nil) #

nil assignments are always ignored


def workdir? : String | Nil #