Docs exports: JSON llms.txt llms-full.txt Agent Files

class Shards::Policy::CustomRule

Defined in:

policy.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, pattern_str : String, action_str : String, reason : Nil | String = nil) #

[View source]

Instance Method Detail

def action : Symbol #

[View source]
def name : String #

[View source]
def pattern : Regex #

[View source]
def reason : String | Nil #

[View source]