Sha256: 81484b4b089287ccce21af9ccca1d2da3c552d14a3382cba6c3cefd94526c1d1
Contents?: true
Size: 190 Bytes
Versions: 1
Compression:
Stored size: 190 Bytes
Contents
module Strong def parse line parse_line = line.sub(/\*\b(\w*)\b\*/){|s| "<strong>#$1</strong>"} return line if parse_line == nil parse_line end module_function :parse end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wparser-0.0.2 | lib/wparser/inline/strong.rb |