summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2005-01-28 00:00:00 +0100
committerHans Hagen <pragma@wxs.nl>2005-01-28 00:00:00 +0100
commit26a80a0ee4c29e1353b88e1b7a056fbac0b7b599 (patch)
treef06697ecffb003220f2587e7682e4286c5b87c87 /scripts
parent5a3212ab13d7de08a389ee0e40ff0e2737140736 (diff)
downloadcontext-26a80a0ee4c29e1353b88e1b7a056fbac0b7b599.tar.gz
stable 2005.01.28
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/ruby/ctxtools.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/context/ruby/ctxtools.rb b/scripts/context/ruby/ctxtools.rb
index 3e9d02e9c..5a0dde13b 100644
--- a/scripts/context/ruby/ctxtools.rb
+++ b/scripts/context/ruby/ctxtools.rb
@@ -26,12 +26,12 @@ class String
def i_translate(element, attribute, category)
self.gsub!(/(<#{element}.*?#{attribute}=)([\"\'])(.*?)\2/) do
if category.key?($3) then
- puts "#{element} #{$3} -> #{category[$3]}\n" if element == 'cd:inherit'
- puts "#{element} #{$3} => #{category[$3]}\n" if element == 'cd:command'
+ # puts "#{element} #{$3} -> #{category[$3]}\n" if element == 'cd:inherit'
+ # puts "#{element} #{$3} => #{category[$3]}\n" if element == 'cd:command'
"#{$1}#{$2}#{category[$3]}#{$2}"
else
- puts "#{element} #{$3} -> ?\n" if element == 'cd:inherit'
- puts "#{element} #{$3} => ?\n" if element == 'cd:command'
+ # puts "#{element} #{$3} -> ?\n" if element == 'cd:inherit'
+ # puts "#{element} #{$3} => ?\n" if element == 'cd:command'
"#{$1}#{$2}#{$3}#{$2}" # unchanged
end
end