Sha256: 0f4efa972d9daf7c1862118eb526fac38ca9fbf4316f680a119be22ab414da7f

Contents?: true

Size: 149 Bytes

Versions: 5

Compression:

Stored size: 149 Bytes

Contents

require 'erb'

module Snippets
  module Parsers
    class PlainText
      def self.parse(text)
        ERB::Util.h(text)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
djanowski-snippets-0.1.3 lib/snippets/parsers/plain_text.rb
djanowski-snippets-0.1.4 lib/snippets/parsers/plain_text.rb
djanowski-snippets-0.1.5 lib/snippets/parsers/plain_text.rb
djanowski-snippets-0.1.6 lib/snippets/parsers/plain_text.rb
djanowski-snippets-0.1.7 lib/snippets/parsers/plain_text.rb