class Industrialist::Builder
Public Class Methods
build(type, key, *args)
click to toggle source
# File lib/industrialist/builder.rb, line 5 def self.build(type, key, *args) klass = Registrar.value_for(type, key) Object.const_get(klass.name)&.new(*args) unless klass.nil? end