Sha256: cf24e3db9897e23d8feb21317b3f70ed45924079fa83352be1103f64fc3a9a2f

Contents?: true

Size: 183 Bytes

Versions: 1

Compression:

Stored size: 183 Bytes

Contents

module UnderLine
  def parse line
    parse_line = line.sub(/\+\b(\w*)\b\+/){|s| "<U>#$1</U>"}
    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/underLine.rb