Sha256: 09c343783795e64d19857c18742938df0cb03cf32723e69b7f89237c7c51c336
Contents?: true
Size: 450 Bytes
Versions: 32
Compression:
Stored size: 450 Bytes
Contents
require 'remarkably/engines/html' module Ramaze module View module Remarkably def self.call(action, string) string = transform_string(action, string) if action.view html = string.to_s return html, 'text/html' end def self.transform_string(action, string) action.instance.instance_eval do args = action.params instance_eval(string) end end end end end
Version data entries
32 entries across 32 versions & 4 rubygems