Methods

Class/Module Index [+]

Quicksearch

Nanoc::Errors::CannotLayoutBinaryItem

Error that is raised when a binary item is attempted to be laid out.

Public Class Methods

new(rep) click to toggle source

@param [Nanoc::ItemRep] rep The item representation that was attempted

to be laid out
# File lib/nanoc/base/errors.rb, line 134
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.")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.