module Mscgen

Public Class Methods

escape(str) click to toggle source
# File lib/mscgen.rb, line 6
def self.escape(str)
  str.gsub(/(["\n])/){ "\\" + $1 }
end
path() click to toggle source

return mscgen command path

# File lib/mscgen.rb, line 17
def self.path
  @@mscgen_path
end
path=(path) click to toggle source

set mscgen command path

# File lib/mscgen.rb, line 13
def self.path=(path)
  @@mscgen_path = path
end