lib/roda.rb in roda-3.31.0 vs lib/roda.rb in roda-3.32.0
- old
+ new
@@ -195,9 +195,11 @@
end
self::RodaResponse.class_eval do
if instance_method(:set_default_headers).owner == ResponseMethods &&
instance_method(:default_headers).owner == ResponseMethods
+ private
+
def set_default_headers
@headers['Content-Type'] ||= 'text/html'
end
end
end