diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-01-10 22:44:24 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-01-10 22:45:30 -0500 |
commit | 51ba2d70af41137ddc3323d79e01b28fbcb40082 (patch) | |
tree | c9f9f7ecd73e5b0540ca0464e7825ea43c489f61 /lib/sisu/v3dv/dal_numbering.rb | |
parent | v3dv, 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/dal_numbering.rb')
-rw-r--r-- | lib/sisu/v3dv/dal_numbering.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sisu/v3dv/dal_numbering.rb b/lib/sisu/v3dv/dal_numbering.rb index 4b12793f..dea9f6ca 100644 --- a/lib/sisu/v3dv/dal_numbering.rb +++ b/lib/sisu/v3dv/dal_numbering.rb @@ -56,7 +56,7 @@ ** Description: system environment, resource control and configuration details =end -module SiSU_numbering +module SiSU_Numbering class Numbering attr_accessor :obj,:osp,:ocn,:lv,:name,:index,:comment def initialize(md,data) @@ -139,7 +139,7 @@ module SiSU_numbering chapter_number_counter=0 data.each do |dob| #@md.seg_names << [additions to segment names] title_no=nil - dob=SiSU_document_structure_extract::Structure.new(@md,dob).structure_markup #must happen earlier, node info etc. require + dob=SiSU_DocumentStructureExtract::Structure.new(@md,dob).structure_markup #must happen earlier, node info etc. require if dob.is =='heading' \ and dob.autonum_ \ and defined? @md.make.num_top \ @@ -229,11 +229,11 @@ module SiSU_numbering @tuned_file=@tuned_file.flatten end def ocn(data) #and auto segment numbering increment - @tuned_file=SiSU_document_structure_extract::OCN.new(@md,data).ocn + @tuned_file=SiSU_DocumentStructureExtract::OCN.new(@md,data).ocn @tuned_file end def xml(data) - @tuned_file=SiSU_document_structure_extract::XML.new(@md,data).dom + @tuned_file=SiSU_DocumentStructureExtract::XML.new(@md,data).dom @tuned_file end def minor_numbering(data) #and auto segment numbering increment @@ -343,9 +343,9 @@ module SiSU_numbering m=dob.ln.to_s dob_tmp=[] if @md.pagenew.inspect =~/#{m}/ - dob_tmp << SiSU_document_structure::Object_layout.new.break(Hx[:br_page_new]) << dob + dob_tmp << SiSU_DocumentStructure::Object_layout.new.break(Hx[:br_page_new]) << dob elsif @md.pagebreak.inspect =~/#{m}/ - dob_tmp << SiSU_document_structure::Object_layout.new.break(Hx[:br_page]) << dob + dob_tmp << SiSU_DocumentStructure::Object_layout.new.break(Hx[:br_page]) << dob end para_result=unless dob_tmp.length > 0; dob else dob_tmp |