Sha256: 8682bae3d635122d94418bc9535071bb042b6e423e132b0f9d622d36c57ab893

Contents?: true

Size: 179 Bytes

Versions: 1

Compression:

Stored size: 179 Bytes

Contents

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