class

Bindgen::FindPath::PathCheck

Inherits YAML::Serializable < Reference < Object

A path check testing a specific path.

Constructors

new(path : String, kind : Bindgen::FindPath::Kind = Bindgen::FindPath::Kind::File, contains : Nil | String = nil, regex : Bool = false)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

contains

Optional: What the file should contain

Source
contains=(contains : String | Nil)

Optional: What the file should contain

Source
kind

What the path should be

Source

What the path should be

Source
path

The sub-path to check for existence.

Source
path=(path : String)

The sub-path to check for existence.

Source
regex

Treat the contains as regular expression?

Source
regex=(regex : Bool)

Treat the contains as regular expression?

Source