struct DPPM::Prefix::ProgramData::Task

Defined in:



Instance Method Summary

Constructor Detail

def : Hash(String, String), all_bin_paths : Array(Path)) #

Creates a new task runtime with variables and paths where to search binaries.

[View source]

Instance Method Detail

def ascii_alphanumeric_underscore?(string : String) #

[View source]
def executable?(cmd : String) : String? #

Returns the first executable matching cmd in .

[View source]
def execute(cmdline : String, last_cond : Bool = false) : String | Bool #

Methods from and

ameba:disable Metrics/CyclomaticComplexity

[View source]
def run(commands_array : Array) #

Run the commands.

[View source]
def vars : Hash(String, String) #

[View source]