lib/hanami/config/actions/content_security_policy.rb in hanami-2.0.0.beta4 vs lib/hanami/config/actions/content_security_policy.rb in hanami-2.0.0.rc1
- old
+ new
@@ -97,10 +97,10 @@
@policy.delete(key)
end
# @since 2.0.0
# @api private
- def to_str
+ def to_s
@policy.map do |key, value|
"#{dasherize(key)} #{value}"
end.join(";\n")
end