lib/nanoc/base/repos/data_source.rb in nanoc-4.1.0 vs lib/nanoc/base/repos/data_source.rb in nanoc-4.1.1
- old
+ new
@@ -136,10 +136,10 @@
#
# @param [Hash] attributes A hash containing this item's attributes.
#
# @param [String] identifier This item's identifier.
#
- # @param [Boolean] :binary Whether or not this item is binary
+ # @param [Boolean] binary Whether or not this item is binary
def new_item(content, attributes, identifier, binary: false)
content = Nanoc::Int::Content.create(content, binary: binary)
Nanoc::Int::Item.new(content, attributes, identifier)
end