aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-07-15 18:36:35 -0400
committerRalph Amissah <ralph@amissah.com>2014-07-15 18:36:35 -0400
commit9100b4d633c56cbeee29c5bea84ac8bb78dcdee5 (patch)
tree9ed0dcf3e72915cbd60865d7128ad48e11cf11bf /lib/sisu/v5
parentv5 v6: ao_numbering, auto name segment, extract "number" from heading, refine (diff)
v5 v6: src_share, cosmetic code
Diffstat (limited to 'lib/sisu/v5')
-rw-r--r--lib/sisu/v5/src_share.rb15
1 files changed, 12 insertions, 3 deletions
diff --git a/lib/sisu/v5/src_share.rb b/lib/sisu/v5/src_share.rb
index e33b4340..1fff050e 100644
--- a/lib/sisu/v5/src_share.rb
+++ b/lib/sisu/v5/src_share.rb
@@ -75,11 +75,20 @@ module SiSU_Markup
(@opt.act[:verbose][:set]==:on \
|| @opt.act[:verbose_plus][:set]==:on \
|| @opt.act[:maintenance][:set]==:on) \
- ? SiSU_Screen::Ansi.new(@opt.act[:color_state][:set],'Share document markup text source',@opt.fns).cyan_hi_blue
- : SiSU_Screen::Ansi.new(@opt.act[:color_state][:set],'Share document markup text source',@opt.fns).cyan_title_hi
+ ? SiSU_Screen::Ansi.new(
+ @opt.act[:color_state][:set],
+ 'Share document markup text source',
+ @opt.fns
+ ).cyan_hi_blue
+ : SiSU_Screen::Ansi.new(
+ @opt.act[:color_state][:set],
+ 'Share document markup text source',
+ @opt.fns
+ ).cyan_title_hi
end
if FileTest.directory?(@path_pod[:fnb])
- FileUtils::mkdir_p(@file.output_path.src.dir) unless FileTest.directory?(@file.output_path.src.dir)
+ FileUtils::mkdir_p(@file.output_path.src.dir) \
+ unless FileTest.directory?(@file.output_path.src.dir)
v=(@opt.act[:maintenance][:set]==:on) \
? 'v' : ''
system(%{