Class: Rack::Response

Inherits:
Object show all
Defined in:
lib/kiss/ext/rack.rb

Instance Method Summary collapse

Instance Method Details

#prepend_html(*args) ⇒ Object



27
28
29
30
31
# File 'lib/kiss/ext/rack.rb', line 27

def prepend_html(*args)
  b = body
  (b = b.join) if b.is_a?(Array)
  b.prepend_html(*args)
end