# File lib/ramaze/view/redcloth.rb, line 9 def self.call(action, string) restrictions = action.variables[:redcloth_options] || [] rules = action.variables[:redcloth_options] || [] erubis, _ = Ramaze::View::Erubis.call(action, string) redcloth = ::RedCloth.new(erubis, restrictions) html = redcloth.to_html(*rules) return html, 'text/html' end