From 2af1c543c1279e45813d7e516b0b0c0ce0b2ba4a Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Wed, 23 Jan 2019 10:07:29 +1100 Subject: [PATCH] gsub fix --- lib/builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/builder.rb b/lib/builder.rb index 4340e89c..ad4ef53a 100644 --- a/lib/builder.rb +++ b/lib/builder.rb @@ -49,7 +49,7 @@ class CustomWizard::Builder result end - result.gsub!(/w\{(.*?)\}/) { |match| data[$1.to_sym] } + result.gsub(/w\{(.*?)\}/) { |match| data[$1.to_sym] } end def build(build_opts = {})