Sha256: cfe90e8258aef91b348816887fd21376c5f4174554b8d6d042380cd465fcbb97
Contents?: true
Size: 261 Bytes
Versions: 7
Compression:
Stored size: 261 Bytes
Contents
require 'maruku' module Ramaze module View module Maruku def self.call(action, string) string = File.read(action.view) if action.view html = ::Maruku.new(string).to_html return html, 'text/html' end end end end
Version data entries
7 entries across 7 versions & 3 rubygems