Class: Phlex::Markdown

Inherits:
HTML
  • Object
show all
Defined in:
lib/phlex/markdown.rb

Instance Method Summary collapse

Constructor Details

#initialize(content) ⇒ Markdown

Returns a new instance of Markdown.



8
9
10
# File 'lib/phlex/markdown.rb', line 8

def initialize(content)
	@content = content
end

Instance Method Details

#templateObject



12
13
14
# File 'lib/phlex/markdown.rb', line 12

def template
	visit(doc)
end