lib/middleman-robots/generator.rb in middleman-robots-1.3.2 vs lib/middleman-robots/generator.rb in middleman-robots-1.3.3

- old
+ new

@@ -23,20 +23,21 @@ '' end end private - def block_text - return '' if @rules.empty? - data = [] - @rules.each do |rule| - data << Group.new(rule).text - end - data.join("\n") - end - def sitemap_text - @sitemap_uri ? "Sitemap: #{@sitemap_uri}" : '' + def block_text + return '' if @rules.empty? + data = [] + @rules.each do |rule| + data << Group.new(rule).text end + data.join("\n") + end + + def sitemap_text + @sitemap_uri ? "Sitemap: #{@sitemap_uri}" : '' + end end end end