Sha256: fc0ed12f2a2ac9a2c6c512b1bcddf08b7e36643c2867e7e055bae03e70f13817

Contents?: true

Size: 847 Bytes

Versions: 1

Compression:

Stored size: 847 Bytes

Contents

$:.unshift(File.dirname(__FILE__)) unless
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))

module SystemBuilder

  @@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/version'
require 'system_builder/core_ext'
require 'system_builder/disk_image'
require 'system_builder/live_image'
require 'system_builder/init_ram_fs_configurator'
require 'system_builder/disk_squashfs_image'
require 'system_builder/disk_nfsroot_image'
require 'system_builder/iso_squashfs_image'
require 'system_builder/boot'
require 'system_builder/configurator'
require 'system_builder/box'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
system-builder-0.0.26 lib/system_builder.rb