diff options
author | Ralph Amissah <ralph@amissah.com> | 2015-04-19 14:44:38 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2015-05-01 18:49:40 -0400 |
commit | 1323f18af45ea0d3aaef5cd9ead0efb5de8b9729 (patch) | |
tree | e1abd6d04547c269666f276d8bdb24afa9d7dfee /lib/sisu/current/sst_convert_markup.rb | |
parent | setup.rb s/Config/RbConfig/ (diff) |
c<-d: sync, roll develop into current dir branch (5==6)
* two dir branches, same library contents
(v5 synced & updated with v6)
Diffstat (limited to 'lib/sisu/current/sst_convert_markup.rb')
-rw-r--r-- | lib/sisu/current/sst_convert_markup.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/sisu/current/sst_convert_markup.rb b/lib/sisu/current/sst_convert_markup.rb index 447514f4..3b81cf29 100644 --- a/lib/sisu/current/sst_convert_markup.rb +++ b/lib/sisu/current/sst_convert_markup.rb @@ -61,11 +61,10 @@ module SiSU_Modify require_relative 'sst_from_xml' # sst_from_xml.rb require_relative 'utils_response' # utils_response.rb class ConvertMarkup + include SiSU_Response def initialize(opt) @opt=opt @description='This is a script that contains canned text conversions for reuse' - @response=SiSU_Response::Response.new - @ask=SiSU_Response::Response.new @warn='WARNING, PROCEED AT YOUR OWN RISK, will make file changes.' end def current_match_and_replace @@ -75,7 +74,7 @@ module SiSU_Modify response='' unless @opt.cmd=~/QQ/ \ or @opt.act[:quiet][:set]==:on - response=@ask.response?(%{#{ text}\nProceed? }) + response=response?(%{#{ text}\nProceed? }) end end def help |