Sha256: 84ce621b90c26a119f7e5097ba72f0006f7c8f6f91409ee8092fed0191348a47
Contents?: true
Size: 581 Bytes
Versions: 1
Compression:
Stored size: 581 Bytes
Contents
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) module SystemBuilder VERSION = '0.0.4' @@configurations = {} def self.config(name, value = nil, &block) value = (value or block.call) puts "* load configuration #{name}" @@configurations[name.to_s] = value end def self.configuration(name) @@configurations[name.to_s] end end require 'system_builder/core_ext' require 'system_builder/image' require 'system_builder/boot' require 'system_builder/configurator'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
system-builder-0.0.4 | lib/system_builder.rb |