Class: Pekky::Format::Rdoc

Inherits:
Transformer show all
Defined in:
lib/pekky/format.rb

Overview

Would you really want to render RDoc? Maybe. I dunno.

Class Method Summary collapse

Methods inherited from Transformer

_filter, _format, name, singleton_method_added

Class Method Details

.format(text) ⇒ Object



212
213
214
# File 'lib/pekky/format.rb', line 212

def self.format(text)
  Tilt::RDocTemplate.new {text}.render
end