aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3dv/harvest_topics.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-01-10 22:44:24 -0500
committerRalph Amissah <ralph@amissah.com>2012-01-10 22:45:30 -0500
commit51ba2d70af41137ddc3323d79e01b28fbcb40082 (patch)
treec9f9f7ecd73e5b0540ca0464e7825ea43c489f61 /lib/sisu/v3dv/harvest_topics.rb
parentv3dv, add dev branch (use to make some changes to module & class names & test) (diff)
v3dv: module names, use more CamelCase
Diffstat (limited to 'lib/sisu/v3dv/harvest_topics.rb')
-rw-r--r--lib/sisu/v3dv/harvest_topics.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sisu/v3dv/harvest_topics.rb b/lib/sisu/v3dv/harvest_topics.rb
index de03b615..a9940e50 100644
--- a/lib/sisu/v3dv/harvest_topics.rb
+++ b/lib/sisu/v3dv/harvest_topics.rb
@@ -58,7 +58,7 @@
** Description: simple xml representation (sax style)
=end
-module HARVEST_topics
+module SiSU_Harvest_Topics
require_relative 'author_format' # author_format.rb
include SiSU_Viz
class Songsheet
@@ -87,11 +87,11 @@ module HARVEST_topics
end
lang_hash_file_array.each_pair do |lang,a|
idx_array[lang] ||= []
- idx_array=HARVEST_topics::Harvest.new(@opt,@env,a,filename,name,idx_array,lang).extract_harvest
+ idx_array=SiSU_Harvest_Topics::Harvest.new(@opt,@env,a,filename,name,idx_array,lang).extract_harvest
end
end
- the_idx=HARVEST_topics::Index.new(@opt,@env,idx_array,@@the_idx_topics).construct_book_topic_index
- HARVEST_topics::Output_index.new(@opt,the_idx).html_print.html_songsheet
+ the_idx=SiSU_Harvest_Topics::Index.new(@opt,@env,idx_array,@@the_idx_topics).construct_book_topic_index
+ SiSU_Harvest_Topics::Output_index.new(@opt,the_idx).html_print.html_songsheet
end
end
class Harvest
@@ -125,7 +125,7 @@ module HARVEST_topics
if @title \
and @author_format \
and @idx_list
- creator=FORMAT::Author.new(@author_format.strip).author_details
+ creator=SiSU_FormatAuthor::Author.new(@author_format.strip).author_details
@authors,@authorship=creator[:authors],creator[:authorship]
file=if name=~/~[a-z]{2,3}\.ss[mt]$/
name.sub(/~[a-z]{2,3}\.ss[mt]$/,'')