Sha256: 98c80aa569714ba86085dd7cf415c37af766497162cb5f3e40c1d7fafbd551ac
Contents?: true
Size: 247 Bytes
Versions: 3
Compression:
Stored size: 247 Bytes
Contents
module Newark class Response < Rack::Response def body=(value) value = if value.respond_to?(:to_str) [ value.to_str ] else [ value ] end super value end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
newark-0.0.4 | lib/newark/response.rb |
newark-0.0.3 | lib/newark/response.rb |
newark-0.0.1 | lib/newark/response.rb |