Method: Html2rss::AttributePostProcessors::Gsub#initialize

Defined in:
lib/html2rss/attribute_post_processors/gsub.rb

#initialize(value, context) ⇒ Gsub

Returns a new instance of Gsub.

Parameters:

[View source]

38
39
40
41
42
43
44
45
# File 'lib/html2rss/attribute_post_processors/gsub.rb', line 38

def initialize(value, context)
  super

  options = context[:options]

  @replacement = options[:replacement]
  @pattern = options[:pattern]
end