lib/nanoc/data_sources/filesystem_verbose.rb in nanoc-3.7.4 vs lib/nanoc/data_sources/filesystem_verbose.rb in nanoc-3.7.5

- old
+ new

@@ -1,9 +1,8 @@ # encoding: utf-8 module Nanoc::DataSources - # The filesystem_verbose data source is the old data source for a new nanoc # site. It stores all data as files on the hard disk. # # None of the methods are documented in this file. See {Nanoc::DataSource} # for documentation on the overridden methods instead. @@ -38,11 +37,10 @@ # It is possible to set an explicit encoding that should be used when reading # files. In the data source configuration, set `encoding` to an encoding # understood by Ruby’s `Encoding`. If no encoding is set in the configuration, # one will be inferred from the environment. class FilesystemVerbose < Nanoc::DataSource - include Nanoc::DataSources::Filesystem private # See {Nanoc::DataSources::Filesystem#create_object}. @@ -82,9 +80,7 @@ # See {Nanoc::DataSources::Filesystem#identifier_for_filename}. def identifier_for_filename(filename) filename.sub(/[^\/]+\.yaml$/, '') end - end - end