Sha256: a04b339261cafb2bb75dd35511e3731f527ca85aad5deec8be113b2fe6eaeddc
Contents?: true
Size: 498 Bytes
Versions: 8
Compression:
Stored size: 498 Bytes
Contents
if $knjpath autoload_path = "#{$knjpath}autoload.rb" else $knjpath = "knj/" autoload_path = "#{File.dirname(__FILE__)}/autoload.rb" end require autoload_path if $knjautoload != false module Knj def self.appserver_cli(filename) Knj::Os.chdir_file(filename) require "#{$knjpath}/includes/appserver_cli.rb" end def self.dirname(filepath) raise "Filepath does not exist: #{filepath}" if !File.exists?(filepath) return Knj::Php.realpath(File.dirname(filepath)) end end
Version data entries
8 entries across 8 versions & 1 rubygems