class Acl::Path

Included Modules

Defined in:

lib/acl/path.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(value : String) #

[View source]

Class Method Detail

def self.value_to_regex(value : String) #

[View source]

Instance Method Detail

def <(rhs : Path) #

[View source]
def <=(rhs : Path) #

[View source]
def ==(rhs) #
Description copied from class Reference

Returns false (other can only be a Value here).


[View source]
def >(rhs : Path) #

[View source]
def >=(rhs : Path) #

[View source]
def acl_match?(other_path : String) : Bool #

[View source]
def regex : Regex | Nil #

[View source]
def size #

[View source]
def to_s : String #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]
def value : String #

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

[View source]