Class: Texter::CleanPreprocessor

Inherits:
Preprocessor show all
Defined in:
app/lib/texter/clean_preprocessor.rb

Instance Attribute Summary

Attributes inherited from Preprocessor

#body

Instance Method Summary collapse

Methods inherited from Preprocessor

#initialize

Constructor Details

This class inherits a constructor from Texter::Preprocessor

Instance Method Details

#callObject



3
4
5
# File 'app/lib/texter/clean_preprocessor.rb', line 3

def call
  body.to_s.gsub(/\r/, '').strip
end