class Bindgen::FindPath::PathCheck

Overview

A path check testing a specific path.

Included Modules

Defined in:

bindgen/find_path/configuration.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(path : String, kind : Bindgen::FindPath::Kind = Bindgen::FindPath::Kind::File, contains : Nil | String = nil, regex : Bool = false) #

[View source]

Instance Method Detail

def contains : String | Nil #

Optional: What the file should contain


[View source]
def contains=(contains : String | Nil) #

Optional: What the file should contain


[View source]

What the path should be


[View source]
def kind=(kind : Bindgen::FindPath::Kind) #

What the path should be


[View source]
def path : String #

[View source]
def path=(path : String) #

[View source]
def regex : Bool #

Treat the contains as regular expression?


[View source]
def regex=(regex : Bool) #

Treat the contains as regular expression?


[View source]