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

block_params: "@server  if block_given?"
comment: 
- !ruby/struct:SM::Flow::P 
  body: Runs the server and yields it to a block.
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "app<Merb::Rack::Application>:"
    body: The app that Mongrel should handle.
  - !ruby/struct:SM::Flow::LI 
    label: "options<Hash>:"
    body: Options to pass to Mongrel (see below).
  type: :NOTE
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Block parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "server<Mongrel::HttpServer>:"
    body: The server to run.
  type: :NOTE
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Options (options)
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: ":Host<String>:"
    body: The hostname on which the app should run. Defaults to &quot;0.0.0.0&quot;
  - !ruby/struct:SM::Flow::LI 
    label: ":Port<Fixnum>:"
    body: The port for the app. Defaults to 8080.
  type: :NOTE
- !ruby/struct:SM::Flow::P 
  body: ":api: plugin"
full_name: Merb::Rack::Handler::Mongrel::run
is_singleton: true
name: run
params: (app, options={}) {|@server if block_given?| ...}
visibility: public
