Sha256: 9fa4e4874547c519afec13bc2ed3de975c29a968c90eb6429a5761f3f9e0abc3
Contents?: true
Size: 673 Bytes
Versions: 2
Compression:
Stored size: 673 Bytes
Contents
# ========================================================================= # Ceedling - Test-Centered Build System for C # ThrowTheSwitch.org # Copyright (c) 2010-25 Mike Karlesky, Mark VanderVoord, & Greg Williams # SPDX-License-Identifier: MIT # ========================================================================= class PluginManagerHelper def include?(plugins, name) include = false plugins.each do |plugin| if (plugin.name == name) include = true break end end return include end def instantiate_plugin(plugin, system_objects, name, root_path) return eval( "#{plugin}.new(system_objects, name, root_path)" ) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ceedling-1.0.1 | lib/ceedling/plugin_manager_helper.rb |
ceedling-1.0.0 | lib/ceedling/plugin_manager_helper.rb |