Class: Feedjira::Preprocessor

Inherits:
Object
  • Object
show all
Defined in:
lib/feedjira/preprocessor.rb

Instance Method Summary collapse

Constructor Details

#initialize(xml) ⇒ Preprocessor

Returns a new instance of Preprocessor



3
4
5
# File 'lib/feedjira/preprocessor.rb', line 3

def initialize(xml)
  @xml = xml
end

Instance Method Details

#to_xmlObject



7
8
9
10
# File 'lib/feedjira/preprocessor.rb', line 7

def to_xml
  process_content
  doc.to_xml
end