class Bindgen::FindPath::ShellTry

Overview

Used in PathConfig#try to distinguish a path try from a shell one.

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(shell : String, regex : Nil | String = nil) #

[View source]

Instance Method Detail

def regex : String | Nil #

An optional regex to grab the path


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

An optional regex to grab the path


[View source]
def shell : String #

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

[View source]