Sha256: 839cf1a7bc914c607debc9b39cba6dc09b7ac8ec36cd4c66135bec1c5530f406
Contents?: true
Size: 224 Bytes
Versions: 2
Compression:
Stored size: 224 Bytes
Contents
module Pedantic::Html def self.included(base) base.processors :remove_html end def remove_html(string) [ /"/ ].each { |pattern| string.gsub!(pattern, '') } string end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pedantic-0.1.1 | lib/pedantic/html.rb |
pedantic-0.1.0 | lib/pedantic/html.rb |