aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3dv/texinfo_format.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-02-03 20:41:32 -0500
committerRalph Amissah <ralph@amissah.com>2012-02-03 20:41:36 -0500
commit7e3cee576368c095fe491014bd279eb280c598ba (patch)
treed8b198e2e09066bcaffc5a93a5a4c434a954c6bf /lib/sisu/v3dv/texinfo_format.rb
parentv3 v3dv: path & url links, updates for multiple output directory structures (diff)
v3dv, dal +, use symbols to identify document objects type (is) and group (of)sisu_3.1.13
* (dal & code affected as a result)
Diffstat (limited to 'lib/sisu/v3dv/texinfo_format.rb')
-rw-r--r--lib/sisu/v3dv/texinfo_format.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3dv/texinfo_format.rb b/lib/sisu/v3dv/texinfo_format.rb
index ed9769fc..0555809d 100644
--- a/lib/sisu/v3dv/texinfo_format.rb
+++ b/lib/sisu/v3dv/texinfo_format.rb
@@ -293,7 +293,7 @@ WOK
"@bye"
end
def clean(dob)
- if dob.is=='heading' \
+ if dob.is==:heading \
and dob.obj !~/##{dob.ocn}/
dob.obj="#{dob.obj} ##{dob.ocn}"
end
@@ -556,7 +556,7 @@ WOK
@md,@dob,@txt=md,dob,txt
end
def clean(dob,txt)
- if dob.is=='heading' \
+ if dob.is==:heading \
and txt !~/##{dob.ocn}/
txt="#{dob.obj} ##{dob.ocn}"
end