Sha256: 02d6f9c07435cae9d1121437ce335b8c26ddf765c3355c9169cfbe44a5d63ca2

Contents?: true

Size: 296 Bytes

Versions: 1

Compression:

Stored size: 296 Bytes

Contents

# frozen_string_literal: true

require "html/pipeline"
require_relative "ruby_markup/transformer"

module HTML
  class Pipeline
    module RubyMarkup
      class Filter < HTML::Pipeline::TextFilter
        def call
          Transformer.run(text.dup.to_s)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
html-pipeline-ruby_markup-0.9.2 lib/html/pipeline/ruby_markup.rb