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



84
85
86
# File 'lib/tipsy/server.rb', line 84

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