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.
5 6 7 |
# File 'lib/feedjira/preprocessor.rb', line 5 def initialize(xml) @xml = xml end |
Instance Method Details
#to_xml ⇒ Object
9 10 11 12 |
# File 'lib/feedjira/preprocessor.rb', line 9 def to_xml process_content doc.to_xml end |