Class: Feedjira::Preprocessor
- Inherits:
-
Object
- Object
- Feedjira::Preprocessor
- Defined in:
- lib/feedjira/preprocessor.rb
Instance Method Summary collapse
-
#initialize(xml) ⇒ Preprocessor
constructor
A new instance of Preprocessor.
- #to_xml ⇒ Object
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_xml ⇒ Object
7 8 9 10 |
# File 'lib/feedjira/preprocessor.rb', line 7 def to_xml process_content doc.to_xml end |