From 46be2501a5b9c1b0e2a5d243beb59d96aeb0f870 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sat, 26 Mar 2005 19:26:56 +0000 Subject: [PATCH] Use Kernel#raise instead of Kernel#fail. --- ChangeLog | 3 ++- lib/redact/app.rb | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9e018b8..89df5f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,11 +1,12 @@ -- -$Id: ChangeLog 3 2005-03-26 19:21:15Z tilman $ +$Id: ChangeLog 4 2005-03-26 19:26:56Z tilman $ ++ 2005-03-26 Tilman Sauerbeck (tilman at code-monkey de) * lib/redact/app.rb: Use Tempfile's for the Embryo source- and amx code * lib/redact/app.rb: Abort compilation if embryo_cc fails + * lib/redact/app.rb: Use Kernel#raise instead of Kernel#fail 2005-03-22 Tilman Sauerbeck (tilman at code-monkey de) * lib/redact/app.rb: The default extension for Edje files is diff --git a/lib/redact/app.rb b/lib/redact/app.rb index 7c5f39e..b706acc 100644 --- a/lib/redact/app.rb +++ b/lib/redact/app.rb @@ -1,5 +1,5 @@ #-- -# $Id: app.rb 3 2005-03-26 19:21:15Z tilman $ +# $Id: app.rb 4 2005-03-26 19:26:56Z tilman $ # # Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de) # @@ -140,7 +140,7 @@ EOT "-i #{incl}/include " + "-o #{tf_out.path} #{tf_in.path}" unless system(c) - fail("Cannot compile Embryo code") + raise("Cannot compile Embryo code") end ret[col.id] = tf_out.read -- 2.30.2