diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-05-03 19:09:54 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-05-03 19:09:54 -0400 |
commit | 67e49a2b278b1512fb39a33a779f68a1389f9849 (patch) | |
tree | b53682f4508b7a2a4a0c3042592b4f9f53f83975 /lib/sisu/v2/db_sqltxt.rb | |
parent | dal_numbering, heading auto-numbering, a fix (diff) |
ansi, screen info related, arranging
Diffstat (limited to 'lib/sisu/v2/db_sqltxt.rb')
-rw-r--r-- | lib/sisu/v2/db_sqltxt.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/sisu/v2/db_sqltxt.rb b/lib/sisu/v2/db_sqltxt.rb index 17a92683..e1fbed29 100644 --- a/lib/sisu/v2/db_sqltxt.rb +++ b/lib/sisu/v2/db_sqltxt.rb @@ -83,16 +83,14 @@ module SiSU_DB_text and not @md.creator.author.empty? s.gsub!(/@author/,@md.creator.author) else - tell=SiSU_Screen::Ansi.new('v','WARNING Document Author information missing; provide @creator: :author:',@md.fnb) - tell.warn unless @md.cmd.inspect =~/q/ + SiSU_Screen::Ansi.new('v','WARNING Document Author information missing; provide @creator: :author:',@md.fnb).warn unless @md.cmd.inspect =~/q/ end if defined? @md.title \ and defined? @md.title.full \ and not @md.title.full.empty? s.gsub!(/@title/,@md.title.full) else - tell=SiSU_Screen::Ansi.new('v','WARNING Document Title missing; provide @title:',@md.fnb) - tell.warn unless @md.cmd.inspect =~/q/ + SiSU_Screen::Ansi.new('v','WARNING Document Title missing; provide @title:',@md.fnb).warn unless @md.cmd.inspect =~/q/ end end s.gsub!(/^(?:_[1-9]\*?|_\*)\s+/m,'') |