Sha256: 4376033f613f9670f733001ec33a8cd5e57c751daa543c7deed1182a560cf217

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 Bytes

Contents

if $knjpath
	autoload_path = "#{$knjpath}autoload.rb"
else
	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

1 entries across 1 versions & 1 rubygems

Version Path
knjrbfw-0.0.8 lib/knj/knj.rb