Class: Tipsy::Server::Response

Inherits:
Rack::Response
  • Object
show all
Defined in:
lib/tipsy/server.rb

Overview

Ensure proper body output

Instance Method Summary collapse

Instance Method Details

#body=(value) ⇒ Object



70
71
72
# File 'lib/tipsy/server.rb', line 70

def body=(value)
  value.respond_to?(:each) ? super(value) : super([value])
end