struct Amber::Controller::Filter

Defined in:

amber/controller/filters.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(precedence : Symbol, action : Symbol, blk : -> Nil, excepts : Array(Symbol) = [] of Symbol) #

[View source]

Instance Method Detail

def action : Symbol #

def blk : -> Nil #

def clone #

[View source]
def copy_with(precedence _precedence = @precedence, action _action = @action, blk _blk = @blk, excepts _excepts = @excepts) #

[View source]
def excepts : Array(Symbol) #

def precedence : Symbol #