Sha256: da8e9441be5ea001ef7753b4402c26e96565afc06bb57ac5c57559376c1776b5

Contents?: true

Size: 530 Bytes

Versions: 1

Compression:

Stored size: 530 Bytes

Contents

# * George Moschovitis  <gm@navel.gr>
# (c) 2005 Navel, all rights reserved.
# $Id: part.rb 20 2005-04-15 15:18:36Z gmosx $

# 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.16.0 lib/nitro/part.rb