diff options
| author | Ralph Amissah <ralph@amissah.com> | 2012-01-10 23:11:27 -0500 | 
|---|---|---|
| committer | Ralph Amissah <ralph@amissah.com> | 2012-01-10 23:11:27 -0500 | 
| commit | 19e69de67694b886800f6ee131d3ded9b5dd3d7a (patch) | |
| tree | b8ffe0123475cffcb4f29dc6555a0b3ecec1ade0 /lib/sisu/v3dv/modify_instructions.rb | |
| parent | v3dv: class names, use more CamelCase (diff) | |
v3dv: make further changes to module names & test
Diffstat (limited to 'lib/sisu/v3dv/modify_instructions.rb')
| -rw-r--r-- | lib/sisu/v3dv/modify_instructions.rb | 121 | 
1 files changed, 121 insertions, 0 deletions
diff --git a/lib/sisu/v3dv/modify_instructions.rb b/lib/sisu/v3dv/modify_instructions.rb new file mode 100644 index 00000000..48ae92c6 --- /dev/null +++ b/lib/sisu/v3dv/modify_instructions.rb @@ -0,0 +1,121 @@ +#module SiSU_MC +  class Extracted +    def modify +      def modules_and_classes +        [ +        ##% -- dal.rb +        # [/SiSU_DAL/,                                                           'SiSU_DAL'], +        #   [/Instantiate/,                                                      'Instantiate'], +        #   [/Make/,                                                             'Make'], +        #   [/Output/,                                                           'Output'], +        #   [/Source/,                                                           'Source'], +        ##% -- dal_character_check.rb +        # [/SiSU_CharacterCheck/,                                                'SiSU_CharacterCheck'], +        #   [/Check/,                                                            'Check'], +        ##% -- dal_doc_objects.rb +        # [/SiSU_DocumentStructure/,                                             'SiSU_DocumentStructure'], +        #   [/Extract/,                                                          'Extract'], +        #   [/ObjectBlockTxt/,                                                   'ObjectBlockTxt'], +        #   [/ObjectComment/,                                                    'ObjectComment'], +        #   [/ObjectHeading/,                                                    'ObjectHeading'], +        #   [/ObjectImage/,                                                      'ObjectImage'], +        #   [/ObjectLayout/,                                                     'ObjectLayout'], +        #   [/ObjectMeta/,                                                       'ObjectMeta'], +        #   [/ObjectMetadata/,                                                   'ObjectMetadata'], +        #   [/ObjectPara/,                                                       'ObjectPara'], +        #   [/ObjectStructure/,                                                  'ObjectStructure'], +        #   [/ObjectTable/,                                                      'ObjectTable'], +        ##% -- dal_doc_str.rb +        # [/SiSU_DocumentStructureExtract/,                                      'SiSU_DocumentStructureExtract'], +        #   [/Build/,                                                            'Build'], +        #   [/Instantiate/,                                                      'Instantiate'], +        #   [/OCN/,                                                              'OCN'], +        #   [/Structure/,                                                        'Structure'], +        #   [/XML/,                                                              'XML'], +        ##% -- dal_endnotes.rb +        # [/SiSU_Endnotes/,                                                      'SiSU_Endnotes'], +        #   [/Endnotes/,                                                         'Endnotes'], +        ##% -- dal_expand_insertions.rb +        # [/SiSU_Insertions/,                                                    'SiSU_Insertions'], +        #   [/Insertions/,                                                       'Insertions'], +        ##% -- dal_hash_digest.rb +        # [/SiSU_Hash/,                                                          'SiSU_Hash'], +        #   [/ObjectDigest/,                                                     'ObjectDigest'], +        ##% -- dal_idx.rb +        # [/SiSU_BookIndex/,                                                     'SiSU_BookIndex'], +        #   [/BookIndex/,                                                        'BookIndex'], +        ##% -- dal_images.rb +        # [/SiSU_Images/,                                                        'SiSU_Images'], +        #   [/Images/,                                                           'Images'], +        ##% -- dal_metadata.rb +        # [/SiSU_Metadata/,                                                      'SiSU_Metadata'], +        #   [/Metadata/,                                                         'Metadata'], +        ##% -- dal_numbering.rb +        # [/SiSU_Numbering/,                                                     'SiSU_Numbering'], +        #   [/Numbering/,                                                        'Numbering'], +        ##% -- dal_substitutions_and_insertions.rb +        # [/SiSU_SubstituteAndInsert/,                                           'SiSU_SubstituteAndInsert'], +        #   [/SI/,                                                               'SI'], +        ##% -- dal_syntax.rb +        # [/SiSU_Syntax/,                                                        'SiSU_Syntax'], +        #   [/Markup/,                                                           'Markup'], +        #   [/Words/,                                                            'Words'], +        ] +      end +      def modules +        [ +        # number of modules: 13, unique: 13 +          [/SiSU_BookIndex/,                                                     'SiSU_DAL_BookIndex'], +          [/SiSU_CharacterCheck/,                                                'SiSU_DAL_CharacterCheck'], +        # [/SiSU_DAL/,                                                           'SiSU_DAL'], +          [/SiSU_DocumentStructure/,                                             'SiSU_DAL_DocumentStructure'], +          [/SiSU_DocumentStructureExtract/,                                      'SiSU_DAL_DocumentStructureExtract'], +          [/SiSU_Endnotes/,                                                      'SiSU_DAL_Endnotes'], +          [/SiSU_Hash/,                                                          'SiSU_DAL_Hash'], +          [/SiSU_Images/,                                                        'SiSU_DAL_Images'], +          [/SiSU_Insertions/,                                                    'SiSU_DAL_Insertions'], +          [/SiSU_Metadata/,                                                      'SiSU_DAL_Metadata'], +          [/SiSU_Numbering/,                                                     'SiSU_DAL_Numbering'], +          [/SiSU_SubstituteAndInsert/,                                           'SiSU_DAL_SubstituteAndInsert'], +          [/SiSU_Syntax/,                                                        'SiSU_DAL_Syntax'], +        ] +      end +      def classes +        [ +        # number of classes: 31, unique: 30 +        # [/BookIndex/,                                                          'BookIndex'], +        # [/Build/,                                                              'Build'], +        # [/Check/,                                                              'Check'], +        # [/Endnotes/,                                                           'Endnotes'], +        # [/Extract/,                                                            'Extract'], +        # [/Images/,                                                             'Images'], +        # [/Insertions/,                                                         'Insertions'], +        # [/Instantiate/,                                                        'Instantiate'], +        # [/Make/,                                                               'Make'], +        # [/Markup/,                                                             'Markup'], +        # [/Metadata/,                                                           'Metadata'], +        # [/Numbering/,                                                          'Numbering'], +        # [/OCN/,                                                                'OCN'], +        # [/ObjectBlockTxt/,                                                     'ObjectBlockTxt'], +        # [/ObjectComment/,                                                      'ObjectComment'], +        # [/ObjectDigest/,                                                       'ObjectDigest'], +        # [/ObjectHeading/,                                                      'ObjectHeading'], +        # [/ObjectImage/,                                                        'ObjectImage'], +        # [/ObjectLayout/,                                                       'ObjectLayout'], +        # [/ObjectMeta/,                                                         'ObjectMeta'], +        # [/ObjectMetadata/,                                                     'ObjectMetadata'], +        # [/ObjectPara/,                                                         'ObjectPara'], +        # [/ObjectStructure/,                                                    'ObjectStructure'], +        # [/ObjectTable/,                                                        'ObjectTable'], +        # [/Output/,                                                             'Output'], +        # [/SI/,                                                                 'SI'], +        # [/Source/,                                                             'Source'], +        # [/Structure/,                                                          'Structure'], +        # [/Words/,                                                              'Words'], +        # [/XML/,                                                                'XML'], +        ] +      end +      self +    end +  end +#end  | 
