diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-07-22 21:30:56 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-07-22 21:30:56 -0400 |
commit | 41796e30e4597c74e7e42c3144dbe5d4fb0687c5 (patch) | |
tree | d0615cafae5362873706f04595ee5b9333a758c3 /lib/sisu/v5/db_create.rb | |
parent | v5 v6: version & changelog (& rakefile) (diff) |
v5 v6: cosmetic code
Diffstat (limited to 'lib/sisu/v5/db_create.rb')
-rw-r--r-- | lib/sisu/v5/db_create.rb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/sisu/v5/db_create.rb b/lib/sisu/v5/db_create.rb index 78277c8b..20b2d6ad 100644 --- a/lib/sisu/v5/db_create.rb +++ b/lib/sisu/v5/db_create.rb @@ -85,8 +85,15 @@ module SiSU_DbCreate def create_db @env=SiSU_Env::InfoEnv.new(@opt.fns) tell=(@sql_type==:sqlite) \ - ? SiSU_Screen::Ansi.new(@opt.act[:color_state][:set],'Create SQLite db tables in:',%{"#{@file}"}) - : SiSU_Screen::Ansi.new(@opt.act[:color_state][:set],'Create pgSQL db tables in:',%{"#{Db[:name_prefix]}#{@env.path.base_markup_dir_stub}"}) + ? SiSU_Screen::Ansi.new( + @opt.act[:color_state][:set], + 'Create SQLite db tables in:',%{"#{@file}"} + ) + : SiSU_Screen::Ansi.new( + @opt.act[:color_state][:set], + 'Create pgSQL db tables in:', + %{"#{Db[:name_prefix]}#{@env.path.base_markup_dir_stub}"} + ) if (@opt.act[:verbose][:set]==:on \ || @opt.act[:verbose_plus][:set]==:on \ || @opt.act[:maintenance][:set]==:on) |