Class: StupidFormatter::RDiscount

Inherits:
AbstractFormatter show all
Defined in:
lib/stupid_formatter.rb

Instance Attribute Summary

Attributes inherited from AbstractFormatter

#input

Instance Method Summary collapse

Methods inherited from AbstractFormatter

#initialize

Constructor Details

This class inherits a constructor from StupidFormatter::AbstractFormatter

Instance Method Details

#resultObject



82
83
84
# File 'lib/stupid_formatter.rb', line 82

def result
  Markdown.new(input).to_html
end