lib/nanoc3/base/layout.rb in nanoc3-3.1.7 vs lib/nanoc3/base/layout.rb in nanoc3-3.1.8
- old
+ new
@@ -46,10 +46,10 @@
@mtime = params[:mtime]
end
@raw_content = raw_content
@attributes = attributes.symbolize_keys
- @identifier = identifier.cleaned_identifier
+ @identifier = identifier.cleaned_identifier.freeze
end
# Requests the attribute with the given key.
#
# @param [Symbol] key The name of the attribute to fetch.