aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/dal_doc_str.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-04-19 21:37:52 -0400
committerRalph Amissah <ralph@amissah.com>2011-04-19 21:37:52 -0400
commit44464e284ee840ee0ef7eae2d3f8d589680b18ca (patch)
tree7967e499e253737a4d8573e9c903ee714be1e762 /lib/sisu/v3/dal_doc_str.rb
parentv3: options, hub, introduce opt.act booleans, more setting in options (diff)
v3: param, md remove md.cmd and md.mod shortcut methods, use use md.opt
* affects many files that now use @md.opt.cmd & @md.opt.mod (instead of @md.cmd & @md.mod)
Diffstat (limited to 'lib/sisu/v3/dal_doc_str.rb')
-rw-r--r--lib/sisu/v3/dal_doc_str.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/sisu/v3/dal_doc_str.rb b/lib/sisu/v3/dal_doc_str.rb
index 09635066..61348d28 100644
--- a/lib/sisu/v3/dal_doc_str.rb
+++ b/lib/sisu/v3/dal_doc_str.rb
@@ -948,7 +948,7 @@ module SiSU_document_structure_extract
hs=[0,false,false,false]
t={ lv: @s[0], status: 'open' }
tuned_file << tags(t)
- if @md.cmd =~/V/
+ if @md.opt.cmd =~/V/
puts "\nXML sisu structure outline --->\n"
puts "<#{@s[0]}>"
end
@@ -958,7 +958,7 @@ module SiSU_document_structure_extract
when 1
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.cmd =~/V/
+ if @md.opt.cmd =~/V/
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -966,7 +966,7 @@ module SiSU_document_structure_extract
when 2
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.cmd =~/V/
+ if @md.opt.cmd =~/V/
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -974,7 +974,7 @@ module SiSU_document_structure_extract
when 3
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.cmd =~/V/
+ if @md.opt.cmd =~/V/
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -982,7 +982,7 @@ module SiSU_document_structure_extract
when 4
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.cmd =~/V/
+ if @md.opt.cmd =~/V/
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -990,7 +990,7 @@ module SiSU_document_structure_extract
when 5
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.cmd =~/V/
+ if @md.opt.cmd =~/V/
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -998,7 +998,7 @@ module SiSU_document_structure_extract
when 6
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.cmd =~/V/
+ if @md.opt.cmd =~/V/
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -1007,7 +1007,7 @@ module SiSU_document_structure_extract
end
tuned_file << o
end
- puts_tag_close(0,hs) if @md.cmd =~/V/
+ puts_tag_close(0,hs) if @md.opt.cmd =~/V/
tuned_file << tag_close(0,hs)
tuned_file.flatten!
tuned_file