Sha256: a8e61d50c84e66605de97430af31a6487f59873e31d388448ad0e9a79df24bbb
Contents?: true
Size: 357 Bytes
Versions: 3
Compression:
Stored size: 357 Bytes
Contents
# frozen_string_literal: true class HTMLPipeline class ConvertFilter < Filter attr_reader :text, :html def initialize(context: {}, result: {}) super(context: context, result: result) end class << self def call(text, context: {}, result: {}) new(context: context, result: result).call(text) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
html-pipeline-3.0.0.pre3 | lib/html_pipeline/convert_filter.rb |
html-pipeline-3.0.0.pre2 | lib/html_pipeline/convert_filter.rb |
html-pipeline-3.0.0.pre1 | lib/html_pipeline/convert_filter.rb |