lib/nanoc/base/errors.rb in nanoc-4.5.1 vs lib/nanoc/base/errors.rb in nanoc-4.5.2
- old
+ new
@@ -123,10 +123,10 @@
# Error that is raised when a binary item is attempted to be laid out.
class CannotLayoutBinaryItem < Generic
# @param [Nanoc::Int::ItemRep] rep The item representation that was attempted
# to be laid out
def initialize(rep)
- super("The “{rep.item.identifier}” item (rep “#{rep.name}”) cannot be laid out because it is a binary item. If you are getting this error for an item that should be textual instead of binary, make sure that its extension is included in the text_extensions array in the site configuration.")
+ super("The “#{rep.item.identifier}” item (rep “#{rep.name}”) cannot be laid out because it is a binary item. If you are getting this error for an item that should be textual instead of binary, make sure that its extension is included in the text_extensions array in the site configuration.")
end
end
# Error that is raised when a textual filter is attempted to be applied to
# a binary item representation.