diff options
author | Martin Gütlein <martin.guetlein@gmail.com> | 2010-01-08 11:23:55 +0100 |
---|---|---|
committer | Martin Gütlein <martin.guetlein@gmail.com> | 2010-01-08 11:23:55 +0100 |
commit | 9a743973a913c9d3a92e47f176ee94bc583522a5 (patch) | |
tree | 3bd5d5b713ab0cb39ce21806971cd69612b5810c /example.rb | |
parent | daf2394220af4cafeebe9db2a1177db05579104f (diff) |
cosmetics2
Diffstat (limited to 'example.rb')
-rw-r--r-- | example.rb | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,7 +33,8 @@ class Example sub.each do |k,v| res.gsub!(/<#{k}>/,v) end - res.gsub!(/\/\//,"/") + #replace // that do not have a leading ':' + res.gsub!(/[^:]\/\//,"\1/") res end |