# File lib/sinatra/rabbit.rb, line 49 def generate_documentation coll, oper = @collection, self ::Sinatra::Application.get("/api/docs/#{@collection.name}/#{@name}") do @collection, @operation = coll, oper respond_to do |format| format.html { haml 'docs/operation''docs/operation' } format.xml { haml 'docs/operation''docs/operation' } end end end