struct LogLineType

Defined in:

bitte_ci/model.cr

Constant Summary

AUTHORIZED_VALUES = {"stdout" => Stdout, "stderr" => Stderr}
Stderr = LogLineType.new("stderr")
Stdout = LogLineType.new("stdout")

Class Method Summary

Class Method Detail

def self.all #

[View source]
def self.authorized_values #

Return the list of authorized values


[View source]
def self.from_string(str : String) #

Return the enum with the string passed as parameter. Throw Clear::IllegalEnumValueError if the string is not found.


[View source]
def self.valid?(x) #

[View source]