Sha256: 8497b1fe420fee3f4ee3ae1e3961916e4c22a59857e95e1f80d379603f46550c

Contents?: true

Size: 438 Bytes

Versions: 3

Compression:

Stored size: 438 Bytes

Contents

if $knjpath
	autoload_path = "#{$knjpath}autoload.rb"
else
	autoload_path = "#{File.dirname(__FILE__)}/autoload.rb"
end

require autoload_path

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

3 entries across 3 versions & 1 rubygems

Version Path
knjrbfw-0.0.7 lib/knj/knj.rb
knjrbfw-0.0.4 lib/knj/knj.rb
knjrbfw-0.0.3 lib/knj/knj.rb