class Nanoc::DataSources::Filesystem::Tools::UnsupportedFileTypeError
Error that is raised when a file of an unknown type is encountered (something other than file, directory or link).
Attributes
filename[R]
@return [String] The filename of the file whose type is not supported
Public Class Methods
new(filename)
click to toggle source
@param [String] filename The filename of the file whose type is not
supported
Calls superclass method
# File lib/nanoc/data_sources/filesystem/tools.rb, line 30 def initialize(filename) @filename = filename super("The file at #{filename} is of an unsupported type (expected file, directory or link, but it is #{File.ftype(filename)}") end