W3cubDocs

/Padrino

Class: Padrino::Filter

Inherits:
Object
  • 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–2016 Padrino
Licensed under the MIT License.
http://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Filter