module Rapel
Constants
- VERSION
Public Class Methods
escape_newlines(string)
click to toggle source
# File lib/rapel.rb, line 67 def self.escape_newlines(string) string.gsub("\\", "\\\\").gsub("\n", " \\n") end
runtimes()
click to toggle source
# File lib/rapel.rb, line 63 def self.runtimes @@server.runtimes end
shutdown()
click to toggle source
# File lib/rapel.rb, line 84 def self.shutdown @@server.shutdown end
shutdown_runtimes()
click to toggle source
# File lib/rapel.rb, line 75 def self.shutdown_runtimes @@server.shutdown end
start()
click to toggle source
# File lib/rapel.rb, line 79 def self.start @@server = REPLServer.new @@server.start end
unescape_newlines(string)
click to toggle source
# File lib/rapel.rb, line 71 def self.unescape_newlines(string) string.gsub(" \\n", "\n").gsub("\\\\", "\\") end