--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Adds a filter to the before filter chain.
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "filter<Symbol, Proc>:"
    body: The filter to add. Defaults to nil.
  - !ruby/struct:SM::Flow::LI 
    label: "opts<Hash>:"
    body: Filter options (see class documentation under <tt>Filter Options</tt>).
  - !ruby/struct:SM::Flow::LI 
    label: "&block:"
    body: A block to use as a filter if filter is nil.
  type: :NOTE
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Notes
- !ruby/struct:SM::Flow::P 
  body: If the filter already exists, its options will be replaced with opts.
- !ruby/struct:SM::Flow::P 
  body: ":api: public"
full_name: Merb::AbstractController::before
is_singleton: true
name: before
params: (filter = nil, opts = {}, &block)
visibility: public
