Browse files

Sinatra::Response no longer has a #join method.

It was wrong to assume it had one to begin with; according to the
rack spec, the response body has #each but not necessarily
any other enumerable or array methods.
  • Loading branch information...
1 parent ce0f0f8 commit 83998801be7aaa3fd745effa051cbe6691b19df7 @myronmarston myronmarston committed Jan 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/interpol/documentation_app.rb
2 lib/interpol/documentation_app.rb
@@ -16,7 +16,7 @@ def render_static_page(&block)
require 'rack/mock'
app = build(&block)
status, headers, body = "/", :method => "GET")
-, app.public_folder).standalone_page
+, app.public_folder).standalone_page
# Inlines the assets so the page can be viewed as a standalone web page.

0 comments on commit 8399880

Please sign in to comment.