lib/capitate/task_node.rb in capitate-0.2.15 vs lib/capitate/task_node.rb in capitate-0.3.1

- old
+ new

@@ -167,10 +167,12 @@ # unless tasks.empty? file.puts "\n\nh2. Task documentation\n\n" sorted_tasks.each do |task| file.puts %{<div class="recipe">\n\n} - file.puts "h3(##{task.fully_qualified_name}). #{task.fully_qualified_name}\n\n" + options = "" + options = "<span class='options'>, #{task.options.inspect}</span>" unless task.options.blank? + file.puts "h3(##{task.fully_qualified_name}). #{task.fully_qualified_name}#{options}\n\n" file.puts "#{unindent(task.desc)}\n\n" file.puts "</div>\n\n\n" end end \ No newline at end of file