lib/genomer/runtime.rb in genomer-0.0.5 vs lib/genomer/runtime.rb in genomer-0.0.6

- old
+ new

@@ -1,9 +1,8 @@ require 'unindent' require 'tempfile' -require 'ronn/index' -require 'ronn/document' +require 'md2man' class Genomer::Runtime attr :command attr :arguments @@ -77,10 +76,10 @@ end def groffed_man_file(original_man_file) converted_man = Tempfile.new("genome-manpage-") File.open(converted_man.path,'w') do |out| - out.puts Ronn::Document.new(original_man_file).convert('roff') + out.puts Md2Man::ENGINE.render(File.read(original_man_file)) end converted_man end def init