title: Pass arguments to new sinatra app
body: <p>Simple question: I want to be able to pass options into my sinatra app in config.ru. How is that possible? My config.ru looks like this:</p>
  
  <pre><code>run MyApp
  </code></pre>
  
  <p>But I want to have this in my MyApp class to take arguments:</p>
  
  <pre><code>class MyApp &lt; Sinatra::Base
    def initialize(config)
      @config = config
    end
  end
  </code></pre>
  
  <p>But I can't figure out a way to do this. Ideas?</p>