From 21f5e220b738add01c19c2b15a76f2d240b2c0d5 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 23 Jan 2012 21:42:25 -0500 Subject: v3dv: replace use of most ruby exclamation (!) method actions --- data/doc/sisu/CHANGELOG_v3 | 1 + data/sisu/v3dv/conf/convert/modify.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3 index d934928c..79293dca 100644 --- a/data/doc/sisu/CHANGELOG_v3 +++ b/data/doc/sisu/CHANGELOG_v3 @@ -29,6 +29,7 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.1.12.orig.tar.xz * v3dv, messing with code, merge back likely to become v3.2 * call most methods by full name (include associated module & class names) + * replace most ruby exclamation (!) method actions * v3dv, sysenv, use "which" instead of "whereis" to locate programs, test [suggested by, Timothy Hume, used to get sisu texpdf to work on MacOS] diff --git a/data/sisu/v3dv/conf/convert/modify.rb b/data/sisu/v3dv/conf/convert/modify.rb index fab7832d..8a4b9074 100644 --- a/data/sisu/v3dv/conf/convert/modify.rb +++ b/data/sisu/v3dv/conf/convert/modify.rb @@ -173,7 +173,7 @@ WOK if t =~m p m.to_s + ' -> ' + r puts "in: #{t}" - t.gsub!(m,r) if m and r + t=t.gsub(m,r) if m and r puts "out: #{t}" end end -- cgit v1.2.3