aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/db_sqltxt.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-07-22 21:30:56 -0400
committerRalph Amissah <ralph@amissah.com>2014-07-22 21:30:56 -0400
commit41796e30e4597c74e7e42c3144dbe5d4fb0687c5 (patch)
treed0615cafae5362873706f04595ee5b9333a758c3 /lib/sisu/v6/db_sqltxt.rb
parentv5 v6: version & changelog (& rakefile) (diff)
v5 v6: cosmetic code
Diffstat (limited to 'lib/sisu/v6/db_sqltxt.rb')
-rw-r--r--lib/sisu/v6/db_sqltxt.rb12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/sisu/v6/db_sqltxt.rb b/lib/sisu/v6/db_sqltxt.rb
index 1beaa321..1037d03b 100644
--- a/lib/sisu/v6/db_sqltxt.rb
+++ b/lib/sisu/v6/db_sqltxt.rb
@@ -84,14 +84,22 @@ module SiSU_DbText
and not @md.creator.author.empty?
s=s.gsub(/@author/,@md.creator.author)
else
- SiSU_Screen::Ansi.new('v','WARNING Document Author information missing; provide @creator: :author:',@md.fnb).warn unless @md.opt.act[:quiet][:set]==:on
+ SiSU_Screen::Ansi.new(
+ 'v',
+ 'WARNING Document Author information missing; provide @creator: :author:',
+ @md.fnb
+ ).warn unless @md.opt.act[:quiet][:set]==:on
end
if defined? @md.title \
and defined? @md.title.full \
and not @md.title.full.empty?
s=s.gsub(/@title/,@md.title.full)
else
- SiSU_Screen::Ansi.new('v','WARNING Document Title missing; provide @title:',@md.fnb).warn unless @md.opt.act[:quiet][:set]==:on
+ SiSU_Screen::Ansi.new(
+ 'v',
+ 'WARNING Document Title missing; provide @title:',
+ @md.fnb
+ ).warn unless @md.opt.act[:quiet][:set]==:on
end
end
s=s.gsub(/^(?:_[1-9]\*?|_\*)\s+/m,'').