lib/interpol/documentation_app.rb in interpol-0.2.2 vs lib/interpol/documentation_app.rb in interpol-0.3.0
- old
+ new
@@ -92,10 +92,10 @@
# configuration.
class Builder
attr_reader :app
def initialize(config)
- @app = Sinatra.new do
+ @app = ::Sinatra.new do
dir = File.dirname(File.expand_path(__FILE__))
set :views, "#{dir}/documentation_app/views"
set :public_folder, "#{dir}/documentation_app/public"
set :interpol_config, config
helpers Helpers