Sha256: 99945fcc6fb1a7519f20f6f6ad4d22ca5562453696f56f7680cbf66cf6b3a246
Contents?: true
Size: 307 Bytes
Versions: 22
Compression:
Stored size: 307 Bytes
Contents
require 'maruku' module Ramaze module View module Maruku def self.call(action, string) string = File.read(action.view) if action.view maruku = View.compile(string){|s| ::Maruku.new(s) } html = maruku.to_html return html, 'text/html' end end end end
Version data entries
22 entries across 22 versions & 4 rubygems