Fix example in API docs

This commit is contained in:
0x1eef 2024-06-22 19:21:16 -03:00
parent 4327e81a3a
commit 45723a3ddc

View file

@ -11,7 +11,7 @@ module Nanoc::Extension
# @example
# compile "/sitemap.xml.erb" do
# filter(:erb)
# filter Proc.new { _1.each_line.reject { |s| s.strip.empty? } }
# filter Proc.new { _1.each_line.reject { |s| s.strip.empty? }.join }
# write("/sitemap.xml")
# end
# @param [Proc, Symbol] fn