Class: Html2rss::AttributePostProcessors::Template

Inherits:
Object
  • Object
show all
Defined in:
lib/html2rss/attribute_post_processors/template.rb

Instance Method Summary collapse

Constructor Details

#initialize(value, options, item) ⇒ Template

Returns a new instance of Template.



6
7
8
9
10
# File 'lib/html2rss/attribute_post_processors/template.rb', line 6

def initialize(value, options, item)
  @value = value
  @options = options
  @item = item
end

Instance Method Details

#getObject



12
13
14
# File 'lib/html2rss/attribute_post_processors/template.rb', line 12

def get
  string % methods
end