Sha256: 6c5d1fa990fb85bf1d2db06b4faf3c558221d4869446691b4afe52e47737dd47

Contents?: true

Size: 405 Bytes

Versions: 1

Compression:

Stored size: 405 Bytes

Contents

# UNDER CONSTRUCTION, dont use yet!

require 'glue/attribute'

module Nitro

	class Part
		cattr_accessor :parts_root, "/home/gmosx/private/plasma/parts"
	end
	
end

module Kernel
	
	def require_part(name)
		# gmosx: RDoc complains about this, so lets use an
		# eval, AAAAAAAARGH!
		# require "#{N::Part.parts_root}/#{name}/mount"
		eval %{ require '#{Nitro::Part.parts_root}/#{name}/mount' }
	end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.17.0 lib/nitro/part.rb