Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/hoe/publish.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#rdoc_to_markdownObject

Very basic munge from rdoc to markdown format.



298
299
300
# File 'lib/hoe/publish.rb', line 298

def rdoc_to_markdown
  self.gsub(/^mailto:/, "").gsub(/^(=+)/) { "#" * $1.size }
end