Class: Padrino::Filter

Inherits:
Object

Instance Attribute Summary

Instance Method Summary

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

Returns:

  • (Boolean)

#to_proc ⇒ Object

© 2010–2020 Padrino
Licensed under the MIT License.
https://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Filter