anchor.diff:    end
   
     get '/' do
  -    session[:name] = 'hobbit'
  -  end
  -
  -  # more routes...
  -end
  -
  -run App.new
  -----
  +    session[:name] = 'username'
  +  end
  +end
  +----
  
positive.code: end
  ----
  
  To run an application, you can put it into `config.ru`:
  
  [source,ruby]
  
negative.code: * https://github.com/ch1c0t/hobby-auth[hobby-auth]: User authorization.
  
  
  [[using-rack-builder]]
  == Using Rack::Builder
  
  You can use `map` and `use` from http://www.rubydoc.info/gems/rack/Rack/Builder[Rack::Builder].
  
  [[mapping-applications]]
  === Mapping applications
  
  You can mount any Rack application to a Hobby application with `map`.
  Here is an example of mounting the application from <<using-initilize>>
  to '/anatoly' and '/patricio' routes:
  
  [source,ruby]
  ----
  require 'hobby'
  
  class App
    include Hobby
  
    map('/anatoly') { run C.new 'Anatoly' }
    map('/patricio') { run C.new 'Patricio' }
  
    get '/' do
      'Mapping app.'
    end
  end
  ----
  
  [[using-middleware]]
  === Using middleware
  
  You can use any Rack middleware with `use`:
  
  [source,ruby]
  ----
  