mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-10-16 05:47:25 +00:00
- Works with Ruby 1.8.6, 1.8.7, 1.9.1, 1.9.2 (and possibly others)
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@192 bf332499-1b4d-0410-844d-d2d48d5cc64c
This commit is contained in:
@@ -16,7 +16,7 @@ class CMockPluginManager
|
||||
object_name = "CMockGeneratorPlugin" + camelize(plugin_name)
|
||||
begin
|
||||
unless (Object.const_defined? object_name)
|
||||
require "cmock_generator_plugin_#{plugin_name.downcase}.rb"
|
||||
require "#{File.expand_path(File.dirname(__FILE__))}/cmock_generator_plugin_#{plugin_name.downcase}.rb"
|
||||
end
|
||||
@plugins << eval("#{object_name}.new(config, utils)")
|
||||
rescue
|
||||
|
||||
Reference in New Issue
Block a user