Class: String

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) rdoc_to_markdown

Very basic munge from rdoc to markdown format.



295
296
297
# File 'lib/hoe/publish.rb', line 295

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