Sha256: 354d8a08e57f405d4f59fc58aaee6cf27de16d7cfa9f658dfa43cc93e602155f
Contents?: true
Size: 236 Bytes
Versions: 10
Compression:
Stored size: 236 Bytes
Contents
module AutoHtml def self.add_filter(name, &block) AutoHtml::Builder.add_filter(name, &block) end def auto_html(raw, &proc) return "" if raw.blank? builder = Builder.new(raw) builder.instance_eval(&proc) end end
Version data entries
10 entries across 10 versions & 2 rubygems