Class: Fiddler::Formatters::BaseFormatter
- Inherits:
-
Object
- Object
- Fiddler::Formatters::BaseFormatter
- Defined in:
- lib/fiddler/formatters/base_formatter.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.format_string(string) ⇒ Object
4 5 6 |
# File 'lib/fiddler/formatters/base_formatter.rb', line 4 def self.format_string(string) string.gsub("\r", '').gsub("\n", "\n ") end |