Sha256: 7cdf07f82ee5e52caaf34fff7e06ea2c0ddc82218f1612139ee93b8f8a72a8ce
Contents?: true
Size: 411 Bytes
Versions: 3
Compression:
Stored size: 411 Bytes
Contents
# WARNING: UNDER CONSTRUCTION, dont use yet! require 'glue/attribute' module Nitro class Part cattr_accessor :parts_root, '/home/gmosx/private/plasma/src' 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.18.0 | lib/nitro/part.rb |
nitro-0.18.1 | lib/nitro/part.rb |
nitro-0.19.0 | lib/nitro/part.rb |