lib/knj/strings.rb in knjrbfw-0.0.83 vs lib/knj/strings.rb in knjrbfw-0.0.84
- old
+ new
@@ -1,7 +1,7 @@
#encoding: utf-8
-require "php4r"
+require "php4r" if !Kernel.const_defined?(:Php4r)
#This module contains various methods to escape, change or treat strings.
module Knj::Strings
#Returns a string that is safe to use on the command line.
def self.UnixSafe(tha_string)
\ No newline at end of file