Module: TemplateBuilder::App::Helper
- Defined in:
- lib/template_builder/app/helper/framework.rb,
lib/template_builder/app/helper/parameter.rb
Defined Under Namespace
Classes: Framework, Gem, Parameter
Class Method Summary
collapse
Class Method Details
.framework_factory(opts = {}) ⇒ Object
4
5
6
7
8
9
|
# File 'lib/template_builder/app/helper/framework.rb', line 4
def self.framework_factory(opts = {})
gems = []
opts[:gems].each { |gem| gems<< Gem.new(gem) }
opts[:gems] = gems
Framework.new opts
end
|