Sha256: 5d1ca98a0194df3a17559a581d702f8ba315c4a53680f40e91d7a982ae6f2511
Contents?: true
Size: 691 Bytes
Versions: 5
Compression:
Stored size: 691 Bytes
Contents
require_relative 'attribute_post_processors/html_to_markdown' require_relative 'attribute_post_processors/parse_time' require_relative 'attribute_post_processors/parse_uri' require_relative 'attribute_post_processors/sanitize_html' require_relative 'attribute_post_processors/substring' require_relative 'attribute_post_processors/template' module Html2rss ## # Provides a namespace for attribute post processors. module AttributePostProcessors def self.get_processor(name) camel_cased_name = name.split('_').map(&:capitalize).join class_name = ['Html2rss', 'AttributePostProcessors', camel_cased_name].join('::') Object.const_get(class_name) end end end
Version data entries
5 entries across 5 versions & 1 rubygems