Sha256: 6b634e616739341070823f5f27f6e2ae202b0bf953d2c715c58f80b62384a34b
Contents?: true
Size: 217 Bytes
Versions: 51
Compression:
Stored size: 217 Bytes
Contents
module ApplicationHelper def mu(object, method) handler = object.send(method) erb_string = ::ERB.new(object[method.to_sym].to_s).result return handler.class.new(erb_string).to_html.html_safe end end
Version data entries
51 entries across 51 versions & 2 rubygems