From 849bad7ad7c8b483d02b317e7f6ecf0c1292a48d Mon Sep 17 00:00:00 2001 From: Derek Hower Date: Tue, 1 Sep 2009 09:35:48 -0500 Subject: [PATCH] ruby: fixed config assertion failure --- src/mem/ruby/config/cfg.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mem/ruby/config/cfg.rb b/src/mem/ruby/config/cfg.rb index 445bb4885..16d658a4c 100644 --- a/src/mem/ruby/config/cfg.rb +++ b/src/mem/ruby/config/cfg.rb @@ -11,7 +11,7 @@ end def assert(condition,message) unless condition - raise AssertionFailure, "\n\nAssertion failed: \n\n #{message}\n\n" + raise AssertionFailure.new(message), "\n\nAssertion failed: \n\n #{message}\n\n" end end -- 2.30.2