aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/dal_doc_str.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-10-23 23:40:45 -0400
committerRalph Amissah <ralph@amissah.com>2013-10-23 23:40:45 -0400
commitedd89902036bde18c91031470e19c871a182cf6d (patch)
tree1269e7b1660aa64896fc21768002e837233c2c24 /lib/sisu/v5/dal_doc_str.rb
parentv4 v5: version & changelog (diff)
v5: options & downstream, more use of opt.act instead of opt.cmd
* opt.act.*.set==:on instead of opt.cmd =~/\S/
Diffstat (limited to 'lib/sisu/v5/dal_doc_str.rb')
-rw-r--r--lib/sisu/v5/dal_doc_str.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/sisu/v5/dal_doc_str.rb b/lib/sisu/v5/dal_doc_str.rb
index 87e5c908..4b31c066 100644
--- a/lib/sisu/v5/dal_doc_str.rb
+++ b/lib/sisu/v5/dal_doc_str.rb
@@ -952,7 +952,7 @@ module SiSU_DAL_DocumentStructureExtract
hs=[0,false,false,false]
t={ lv: @s[0], status: 'open' }
tuned_file << tags(t)
- if @md.opt.cmd =~/V/
+ if @md.opt.act[:verbose_plus][:set]==:on
puts "\nXML sisu structure outline --->\n"
puts "<#{@s[0]}>"
end
@@ -963,7 +963,7 @@ module SiSU_DAL_DocumentStructureExtract
when 1
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.opt.cmd =~/V/
+ if @md.opt.act[:verbose_plus][:set]==:on
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -971,7 +971,7 @@ module SiSU_DAL_DocumentStructureExtract
when 2
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.opt.cmd =~/V/
+ if @md.opt.act[:verbose_plus][:set]==:on
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -979,7 +979,7 @@ module SiSU_DAL_DocumentStructureExtract
when 3
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.opt.cmd =~/V/
+ if @md.opt.act[:verbose_plus][:set]==:on
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -987,7 +987,7 @@ module SiSU_DAL_DocumentStructureExtract
when 4
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.opt.cmd =~/V/
+ if @md.opt.act[:verbose_plus][:set]==:on
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -995,7 +995,7 @@ module SiSU_DAL_DocumentStructureExtract
when 5
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.opt.cmd =~/V/
+ if @md.opt.act[:verbose_plus][:set]==:on
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -1003,7 +1003,7 @@ module SiSU_DAL_DocumentStructureExtract
when 6
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.opt.cmd =~/V/
+ if @md.opt.act[:verbose_plus][:set]==:on
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -1012,7 +1012,7 @@ module SiSU_DAL_DocumentStructureExtract
end
tuned_file << o
end
- puts_tag_close(0,hs) if @md.opt.cmd =~/V/
+ puts_tag_close(0,hs) if @md.opt.act[:verbose_plus][:set]==:on
tuned_file << tag_close(0,hs)
tuned_file=tuned_file.flatten
end