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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Install a signal handler for a given signal unless signals have been disabled with Merb.disable(:signals)
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "signal:"
    body: The name of the signal to install a handler for.
  - !ruby/struct:SM::Flow::LI 
    label: "&block:"
    body: The block to be run when the given signal is received.
  type: :NOTE
- !ruby/struct:SM::Flow::P 
  body: ":api: public"
full_name: Merb::trap
is_singleton: true
name: trap
params: (signal, &block)
visibility: public
