Methods

Class/Module Index [+]

Quicksearch

Nanoc::Extra::FilesystemTools::UnsupportedFileTypeError

Error that is raised when a file of an unknown type is encountered (something other than file, directory or link).

@api private

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
# File lib/nanoc/extra/filesystem_tools.rb, line 38
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

[Validate]

Generated with the Darkfish Rdoc Generator 2.