class Amber::Controller::Filters

Included Modules

Defined in:

amber/controller/filters.cr

Instance Method Summary

Instance Method Detail

def [](name) #

[View source]
def []?(name) #

[View source]
def add(filter : Filter) #

[View source]
def each(& : Tuple(Symbol, Array(Filter)) -> _) #
Description copied from module Enumerable({Symbol, Array(Amber::Controller::Filter)})

Must yield this collection's elements to the block.


[View source]
def fetch(name) #

[View source]
def filters : Hash(Symbol, Array(Amber::Controller::Filter)) #

[View source]
def filters=(filters : Hash(Symbol, Array(Amber::Controller::Filter))) #

[View source]
def register(precedence : Symbol, &) : Nil #

[View source]
def run(precedence : Symbol, action : Symbol, except_action : Symbol | Nil = nil) #

[View source]