Class: Fiddler::Formatters::BaseFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/fiddler/formatters/base_formatter.rb

Direct Known Subclasses

SearchRequestFormatter

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