class Amber::Controller::Filters
- Amber::Controller::Filters
- Reference
- Object
Included Modules
- Enumerable({Symbol, Array(Amber::Controller::Filter)})
Defined in:
amber/controller/filters.crInstance Method Summary
- #[](name)
- #[]?(name)
- #add(filter : Filter)
-
#each(&block : Tuple(Symbol, Array(Filter)) -> _)
Must yield this collection's elements to the block.
- #fetch(name)
- #filters : Hash(Symbol, Array(Amber::Controller::Filter))
- #filters=(filters : Hash(Symbol, Array(Amber::Controller::Filter)))
- #register(precedence : Symbol, &) : Nil
- #run(precedence : Symbol, action : Symbol, except_action : Symbol | Nil = nil)
Instance Method Detail
Description copied from module Enumerable({Symbol, Array(Amber::Controller::Filter)})
Must yield this collection's elements to the block.