module Eggshell::Bundles::Loader

This bundle is used to interpret eggshell configs.

Constants

BUNDLE_ID

Public Class Methods

class_from_string(str) click to toggle source
# File lib/eggshell/bundles/loader.rb, line 9
def self.class_from_string(str)
        str.split('::').inject(Object) do |mod, class_name|
                mod.const_get(class_name)
        end
end
new_instance(proc, opts = nil) click to toggle source
# File lib/eggshell/bundles/loader.rb, line 5
def self.new_instance(proc, opts = nil)
        LoaderMacro.new.set_processor(proc)
end