lib/nanoc/base/source_data/data_source.rb in nanoc-3.6.7 vs lib/nanoc/base/source_data/data_source.rb in nanoc-3.6.8
- 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,10 +228,10 @@
# 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