c&d: some cruft
authorRalph Amissah <ralph@amissah.com>
Sun, 11 Jan 2015 13:51:54 +0000 (08:51 -0500)
committerRalph Amissah <ralph@amissah.com>
Tue, 20 Jan 2015 04:46:16 +0000 (23:46 -0500)
lib/sisu/current/dp.rb
lib/sisu/current/se_clear.rb
lib/sisu/current/se_file_op.rb
lib/sisu/develop/dp.rb
lib/sisu/develop/se_clear.rb
lib/sisu/develop/se_file_op.rb

index 9c8ab9fcf908e34692133ded8d46d28237beabef..4cf058e7319dbc8e9466ec5d532fa7541f03e32d 100644 (file)
@@ -67,19 +67,6 @@ module SiSU_Param
   require_relative 'dp_make'                            # dp_make.rb
   require_relative 'dp_identify_markup'                 # dp_identify_markup.rb
   @@date=SiSU_Env::InfoDate.new
-  @@proc=
-    @@filename_txt=
-    @@filename_texinfo=
-    @@filename_lout_portrait=
-    @@filename_lout_landscape=
-    @@filename_html_scroll=
-    @@filename_html_index=
-    @@filename_html_segtoc=
-    @@filename_semantic=
-    @@filename_rss=
-    @@newfile=
-    @@drr=
-    nil
   @doc={
     initialise: nil,
     markup: '',
@@ -87,7 +74,6 @@ module SiSU_Param
     stmp: '',
     req: {},
   }
-  @@yaml=@@yamladdr=nil
   @@trigger=nil
   @@lv,@@flag={},{}
   @@tex_backslash="\\\\"
@@ -1574,19 +1560,6 @@ module SiSU_Param
   class Instantiate
     def param_instantiate
       @@date=SiSU_Env::InfoDate.new
-      @@proc=
-        @@filename_txt=
-        @@filename_texinfo=
-        @@filename_lout_portrait=
-        @@filename_lout_landscape=
-        @@filename_html_scroll=
-        @@filename_html_index=
-        @@filename_html_segtoc=
-        @@filename_semantic=
-        @@filename_rss=
-        @@newfile=
-        @@drr=
-        nil
       @doc={
        initialise: nil,
        markup: '',
@@ -1596,7 +1569,6 @@ module SiSU_Param
        prefix_b: '',
        req: {}
       }
-      @@yaml=@@yamladdr=nil
       @@flag={}
       @@publisher='SiSU scribe'
     end
index f39ea9d66c662bc3dfbf48fc939618663ef038f5..1d76926863be537427b348d1fb5a70359873518d 100644 (file)
@@ -98,7 +98,7 @@ module SiSU_Clear
     def param_instantiate
       @cX||=SiSU_Screen::Ansi.new(@cmd)
       @@date=SiSU_Env::InfoDate.new
-      @@proc=@@filename_txt=@@filename_texinfo=@@filename_lout_portrait=@@filename_lout_landscape=@@filename_html_scroll=@@filename_html_index=@@filename_html_segtoc=@@filename_semantic=@@filename_rss=@@newfile=@@drr=@@yaml=@@yamladdr=nil
+      @@proc=@@filename_txt=@@filename_texinfo=@@filename_html_scroll=@@filename_html_index=@@filename_html_segtoc=@@filename_semantic=@@filename_rss=@@newfile=@@drr=@@yaml=@@yamladdr=nil
       @@publisher='SiSU scribe'
     end
   end
index bccb760548527b25b81059026731d3363cc11700..3f9cb83448a22c9591a82645cf8b3e2b34f8a53e 100644 (file)
@@ -351,7 +351,7 @@ module SiSU_File_Op
         pth=output_path.html.dir
         make_path(pth)
         p_fn=place_file.html_scroll.dir
-        @@filename_html_scroll=File.new(p_fn,'w+')
+        File.new(p_fn,'w+')
       end
       def html_seg_index
         pth=((output_dir_structure.by_filename?) \
@@ -360,7 +360,7 @@ module SiSU_File_Op
         : "#{output_path.html.dir}/#{@md.fnb}"
         make_path(pth)
         p_fn=place_file.html_seg_index.dir
-        @@filename_html_index=File.new(p_fn,'w+')
+        File.new(p_fn,'w+')
       end
       def html_segtoc
         pth=((output_dir_structure.by_filename?) \
@@ -370,7 +370,7 @@ module SiSU_File_Op
         : "#{output_path.html.dir}/#{@md.fnb}"
         make_path(pth)
         p_fn=place_file.html_segtoc.dir
-        @@filename_html_index=File.new(p_fn,'w+')
+        File.new(p_fn,'w+')
       end
       def xhtml
         path=output_path.xhtml.dir
@@ -2568,11 +2568,11 @@ module SiSU_Create_File
     end
     def file_semantic
       fn='./semantic.yaml'
-      @@filename_semantic=File.new(fn,'w+')
+      File.new(fn,'w+')
     end
     def file_rss
       fn='./semantic.xml'
-      @@filename_rss=File.new(fn,'w+')
+      File.new(fn,'w+')
     end
     def epub
       @pth=@env.processing_path.epub
index 76fe87ff028dee9c176d3902dbcca505a23bd1d2..42a51363057ec699aec0bd3bc3964b9265fdf765 100644 (file)
@@ -67,19 +67,6 @@ module SiSU_Param
   require_relative 'dp_make'                            # dp_make.rb
   require_relative 'dp_identify_markup'                 # dp_identify_markup.rb
   @@date=SiSU_Env::InfoDate.new
-  @@proc=
-    @@filename_txt=
-    @@filename_texinfo=
-    @@filename_lout_portrait=
-    @@filename_lout_landscape=
-    @@filename_html_scroll=
-    @@filename_html_index=
-    @@filename_html_segtoc=
-    @@filename_semantic=
-    @@filename_rss=
-    @@newfile=
-    @@drr=
-    nil
   @doc={
     initialise: nil,
     markup: '',
@@ -87,7 +74,6 @@ module SiSU_Param
     stmp: '',
     req: {},
   }
-  @@yaml=@@yamladdr=nil
   @@trigger=nil
   @@lv,@@flag={},{}
   @@tex_backslash="\\\\"
@@ -1580,19 +1566,6 @@ module SiSU_Param
   class Instantiate
     def param_instantiate
       @@date=SiSU_Env::InfoDate.new
-      @@proc=
-        @@filename_txt=
-        @@filename_texinfo=
-        @@filename_lout_portrait=
-        @@filename_lout_landscape=
-        @@filename_html_scroll=
-        @@filename_html_index=
-        @@filename_html_segtoc=
-        @@filename_semantic=
-        @@filename_rss=
-        @@newfile=
-        @@drr=
-        nil
       @doc={
        initialise: nil,
        markup: '',
@@ -1602,7 +1575,6 @@ module SiSU_Param
        prefix_b: '',
        req: {}
       }
-      @@yaml=@@yamladdr=nil
       @@flag={}
       @@publisher='SiSU scribe'
     end
index 553fd98b3abb45030cb6ef1c29ee4aade511860d..f86a24776a311c1ec27de43c45f386ee6bb4d4ea 100644 (file)
@@ -98,7 +98,6 @@ module SiSU_Clear
     def param_instantiate
       @cX||=SiSU_Screen::Ansi.new(@cmd)
       @@date=SiSU_Env::InfoDate.new
-      @@proc=@@filename_txt=@@filename_texinfo=@@filename_lout_portrait=@@filename_lout_landscape=@@filename_html_scroll=@@filename_html_index=@@filename_html_segtoc=@@filename_semantic=@@filename_rss=@@newfile=@@drr=@@yaml=@@yamladdr=nil
       @@publisher='SiSU scribe'
     end
   end
index 585a1c12e9a887fa7b57f94d3c4ae0e826cd0f23..22a6f778354dc13d2c1b0d7166e2eba46be0a732 100644 (file)
@@ -357,7 +357,7 @@ module SiSU_File_Op
         pth=output_path.html.dir
         make_path(pth)
         p_fn=place_file.html_scroll.dir
-        @@filename_html_scroll=File.new(p_fn,'w+')
+        File.new(p_fn,'w+')
       end
       def html_seg_index
         pth=((output_dir_structure.by_filename?) \
@@ -366,7 +366,7 @@ module SiSU_File_Op
         : "#{output_path.html.dir}/#{@md.fnb}"
         make_path(pth)
         p_fn=place_file.html_seg_index.dir
-        @@filename_html_index=File.new(p_fn,'w+')
+        File.new(p_fn,'w+')
       end
       def html_segtoc
         pth=((output_dir_structure.by_filename?) \
@@ -376,7 +376,7 @@ module SiSU_File_Op
         : "#{output_path.html.dir}/#{@md.fnb}"
         make_path(pth)
         p_fn=place_file.html_segtoc.dir
-        @@filename_html_index=File.new(p_fn,'w+')
+        File.new(p_fn,'w+')
       end
       def xhtml
         path=output_path.xhtml.dir
@@ -2626,11 +2626,11 @@ module SiSU_Create_File
     end
     def file_semantic
       fn='./semantic.yaml'
-      @@filename_semantic=File.new(fn,'w+')
+      File.new(fn,'w+')
     end
     def file_rss
       fn='./semantic.xml'
-      @@filename_rss=File.new(fn,'w+')
+      File.new(fn,'w+')
     end
     def epub
       @pth=@env.processing_path.epub