lib/nanoc/base/source_data/data_source.rb in nanoc-3.7.3 vs lib/nanoc/base/source_data/data_source.rb in nanoc-3.7.4
- old
+ new
@@ -205,11 +205,11 @@
# can be used to influence the way items are stored. For example,
# filesystem data sources could use this to pass the extension of the
# files that should be generated.
#
# @return [void]
- def create_item(content, attributes, identifier, params = {})
+ def create_item(_content, _attributes, _identifier, _params = {})
not_implemented('create_item')
end
# Creates a new layout with the given content, attributes and identifier.
# No instance of {Nanoc::Layout} will be created; this method creates the
@@ -228,14 +228,14 @@
# can be used to influence the way items are stored. For example,
# filesystem data sources could use this to pass the extension of the
# files that should be generated.
#
# @return [void]
- def create_layout(content, attributes, identifier, params = {})
+ def create_layout(_content, _attributes, _identifier, _params = {})
not_implemented('create_layout')
end
- private
+ private
def not_implemented(name)
raise NotImplementedError.new(
"#{self.class} does not implement ##{name}"
)