- 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:
mvandervoord
2010-10-22 17:20:31 +00:00
parent 72ca191840
commit 0e12f087bd
13 changed files with 61 additions and 66 deletions
+1 -1
View File
@@ -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