struct Zap::Utils::Scripts::ScriptData

Defined in:

utils/scripts/scripts.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

or(other : T) : T | self forall T or, pipe(&) pipe

Constructor Detail

def self.new(package : Package, path : Path | String, script_name : Symbol | String, script_command : String | Nil, before : Enumerable(ScriptDataNested) | Nil = nil, after : Enumerable(ScriptDataNested) | Nil = nil, args : Array(String) | Nil = nil) #

[View source]

Instance Method Detail

def after : Enumerable(ScriptDataNested) | Nil #

def args : Array(String) | Nil #

def before : Enumerable(ScriptDataNested) | Nil #

def clone #

[View source]
def copy_with(package _package = @package, path _path = @path, script_name _script_name = @script_name, script_command _script_command = @script_command, before _before = @before, after _after = @after, args _args = @args) #

[View source]
def package : Package #

def path : Path | String #

def script_command : String | Nil #

def script_name : Symbol | String #