Sha256: ad88711337ec1b4268458aae4ea8f985f2e07cda5367f390b5a1177572cab916

Contents?: true

Size: 350 Bytes

Versions: 12

Compression:

Stored size: 350 Bytes

Contents

# %w(
#   abstract
#   runtime
#   web
# ).each{|f| require "rad/configurators/#{f}"}

class Micon::Core
  def configure configurator_name, dir, &block      
    configurator_class = "Rad::Configurators::#{configurator_name.to_s.classify}".constantize      
    configurator = configurator_class.new dir
    block.call configurator if block
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rad_core-0.2.6 lib/rad/configurators/_require.rb
rad_core-0.2.5 lib/rad/configurators/_require.rb
rad_core-0.2.4 lib/rad/configurators/_require.rb
rad_core-0.2.3 lib/rad/configurators/_require.rb
rad_core-0.2.2 lib/rad/configurators/_require.rb
rad_core-0.2.1 lib/rad/configurators/_require.rb
rad_core-0.2.0 lib/rad/configurators/_require.rb
rad_core-0.0.30 lib/rad/configurators/_require.rb
rad_core-0.0.29 lib/rad/configurators/_require.rb
rad_core-0.0.28 lib/rad/configurators/_require.rb
rad_core-0.0.27 lib/rad/configurators/_require.rb
rad_core-0.0.26 lib/rad/configurators/_require.rb