aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3dv/html_tune.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_tune.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_tune.rb')
-rw-r--r--lib/sisu/v3dv/html_tune.rb14
1 files changed, 3 insertions, 11 deletions
diff --git a/lib/sisu/v3dv/html_tune.rb b/lib/sisu/v3dv/html_tune.rb
index 0161d5df..1b5cca4d 100644
--- a/lib/sisu/v3dv/html_tune.rb
+++ b/lib/sisu/v3dv/html_tune.rb
@@ -212,10 +212,10 @@ module SiSU_HTML_Tune
songsheet_array(@data)
#data=songsheet_array(@data)
if @md.opt.cmd =~/M/ #Hard Output Tune Optional on/off here
- data=Output.new(@data,@md).hard_output
- Output.new(@data,@md).marshal
+ data=SiSU_HTML_Tune::Output.new(@data,@md).hard_output
+ SiSU_HTML_Tune::Output.new(@data,@md).marshal
end
- tuned=Tune.new(@data,@md).output
+ tuned=SiSU_HTML_Tune::Tune.new(@data,@md).output
rescue; SiSU_Errors::InfoError.new($!,$@,@md.opt.cmd,@md.fns).error
ensure
end
@@ -321,14 +321,6 @@ module SiSU_HTML_Tune
end
dob
end
- def para_numbers
- data=@data
- @tuned_file=[]
- data.each do |dob|
- dob.gsub!(/#{Mx[:lv_o]}\d:(\S?)#{Mx[:lv_c]}/,'\0<a name="H#\1">#\1.</a>&nbsp;') #fix Mx[:lv_o]
- @tuned_file << dob
- end
- end
def angle_brackets(dob)
dob.obj.gsub!(/<([a-z:\/]+)>/,"#{Dx[:lt_xml]}\\1#{Dx[:gt_xml]}")
dob