Class String
In: lib.rb
Parent: Object

Add function shellquote to String class

Methods

Public Instance methods

[Source]

# File lib.rb, line 14
        def shellquote
                return "'" + self.gsub("'", "'\\\\''") + "'"
        end

[Validate]