aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3dv/html_minitoc.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-01-23 21:40:41 -0500
committerRalph Amissah <ralph@amissah.com>2012-01-23 21:40:54 -0500
commit3d6deb1d4a0e3a8ab8294e441cf2c0ff1075e4c6 (patch)
treedb49ede3ba9b0b8e23789441f31a2510a9219807 /lib/sisu/v3dv/html_minitoc.rb
parentv3dv: sysenv, use "which" instead of "whereis" to locate programs, test (diff)
v3dv: call most methods by full name (include associated module & class names)
* messing with code, merge back now likely to become v3.2
Diffstat (limited to 'lib/sisu/v3dv/html_minitoc.rb')
-rw-r--r--lib/sisu/v3dv/html_minitoc.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sisu/v3dv/html_minitoc.rb b/lib/sisu/v3dv/html_minitoc.rb
index 7f891a2e..96ef5d75 100644
--- a/lib/sisu/v3dv/html_minitoc.rb
+++ b/lib/sisu/v3dv/html_minitoc.rb
@@ -80,12 +80,12 @@
txt.obj.gsub!(@pat_strip_heading_name,'\1')
txt.obj.gsub(/(.*?)<a name="(\d+)"><\/a>(.*)/,'\1') #2002w42 altered gsub! - problematic? - suspect
toc=case txt.ln
- when 1; TocMini.new(@md,txt).level_1
- when 2; TocMini.new(@md,txt).level_2
- when 3; TocMini.new(@md,txt).level_3
- when 4; TocMini.new(@md,txt).level_4
- when 5; TocMini.new(@md,txt).level_5
- when 6; TocMini.new(@md,txt).level_6
+ when 1; SiSU_HTML_MiniToc::TocMini.new(@md,txt).level_1
+ when 2; SiSU_HTML_MiniToc::TocMini.new(@md,txt).level_2
+ when 3; SiSU_HTML_MiniToc::TocMini.new(@md,txt).level_3
+ when 4; SiSU_HTML_MiniToc::TocMini.new(@md,txt).level_4
+ when 5; SiSU_HTML_MiniToc::TocMini.new(@md,txt).level_5
+ when 6; SiSU_HTML_MiniToc::TocMini.new(@md,txt).level_6
else
end
@toc << toc