lib/nanoc/base/repos/data_source.rb in nanoc-4.4.2 vs lib/nanoc/base/repos/data_source.rb in nanoc-4.4.3

- old
+ new

@@ -83,22 +83,20 @@ # # Subclasses may override this method, but are not required to do so; the # default implementation simply does nothing. # # @return [void] - def up - end + def up; end # Brings down the connection to the data. This method should undo the # effects of the {#up} method. For example, a database connection # established in {#up} should be closed in this method. # # Subclasses may override this method, but are not required to do so; the # default implementation simply does nothing. # # @return [void] - def down - end + def down; end # Returns the collection of items (represented by {Nanoc::Int::Item}) in # this site. The default implementation simply returns an empty array. # # Subclasses should not prepend `items_root` to the item's identifiers, as