module TheGreatEscape::Escaper
Public Instance Methods
escape(string)
click to toggle source
# File lib/the_great_escape/escaper.rb, line 7 def escape string string.to_s.dump.gsub /"/, '' end
escape_puts(string)
click to toggle source
# File lib/the_great_escape/escaper.rb, line 3 def escape_puts string STDOUT.puts(escape string) end