Class: String

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

Instance Method Summary collapse

Instance Method Details

#rdoc_to_markdownObject

Very basic munge from rdoc to markdown format.



308
309
310
# File 'lib/hoe/publish.rb', line 308

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