Class: Padrino::Filter
Instance Attribute Summary
-
#block ⇒ Object
readonly Returns the value of attribute block.
Instance Method Summary
-
#apply?(request) ⇒ Boolean
-
#initialize(mode, scoped_controller, options, args, &block) ⇒ Filter
constructor A new instance of Filter. -
#to_proc ⇒ Object
Constructor Details
#initialize(mode, scoped_controller, options, args, &block) ⇒ Filter
Returns a new instance of Filter.
Instance Attribute Details
#block ⇒ Object (readonly)
Returns the value of attribute block
Instance Method Details
#apply?(request) ⇒ Boolean
#to_proc ⇒ Object
© 2010–2020 Padrino
Licensed under the MIT License.
https://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Filter