Class: Texter::CleanPreprocessor
- Inherits:
-
Preprocessor
- Object
- Preprocessor
- Texter::CleanPreprocessor
- Defined in:
- app/lib/texter/clean_preprocessor.rb
Instance Attribute Summary
Attributes inherited from Preprocessor
Instance Method Summary collapse
Methods inherited from Preprocessor
Constructor Details
This class inherits a constructor from Texter::Preprocessor
Instance Method Details
#call ⇒ Object
3 4 5 |
# File 'app/lib/texter/clean_preprocessor.rb', line 3 def call body.to_s.gsub(/\r/, '').strip end |