Closed j15e closed 11 years ago
# app.rb register Sinatra::Export
So instead of doing Sinatra::Export.new(app_instance).build! we would do ex. app_instance.export!
Sinatra::Export.new(app_instance).build!
app_instance.export!
I think I prefer not to pollute the application scope. Won't do this unless necessary.
So instead of doing
Sinatra::Export.new(app_instance).build!
we would do ex.app_instance.export!