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.



5
6
7
# File 'lib/feedjira/preprocessor.rb', line 5

def initialize(xml)
  @xml = xml
end

Instance Method Details

#to_xmlObject



9
10
11
12
# File 'lib/feedjira/preprocessor.rb', line 9

def to_xml
  process_content
  doc.to_xml
end