Method: Html2rss::AttributePostProcessors::Gsub#initialize
- Defined in:
- lib/html2rss/attribute_post_processors/gsub.rb
permalink #initialize(value, context) ⇒ Gsub
Returns a new instance of Gsub.
38 39 40 41 42 43 44 45 |
# File 'lib/html2rss/attribute_post_processors/gsub.rb', line 38 def initialize(value, context) super = context[:options] @replacement = [:replacement] @pattern = [:pattern] end |