From 0a87b8fbd5b013b8da07f6bc30360ff735217367 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 9 Mar 2022 21:05:51 -0500 Subject: org-mode and ruby file headers modified - org-mode file headers modified to preserve org-mode ruby syntax highlighting --- org/utils.org | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'org/utils.org') diff --git a/org/utils.org b/org/utils.org index 7f7d531a..ffbdfeeb 100644 --- a/org/utils.org +++ b/org/utils.org @@ -19,8 +19,9 @@ * utils ** utils.rb -#+BEGIN_SRC ruby :tangle "../lib/sisu/utils.rb" -<> +#+HEADER: :tangle "../lib/sisu/utils.rb" +#+BEGIN_SRC ruby +#<> module SiSU_Utils class CodeMarker def initialize(line,file,color=:red) @@ -201,8 +202,9 @@ puts ANSI_C[:red] + __LINE__.to_s + ANSI_C[:off] + ' ' + __FILE__.gsub(/([^\/]+$ ** utils_spell.rb -#+BEGIN_SRC ruby :tangle "../lib/sisu/utils_spell.rb" -<> +#+HEADER: :tangle "../lib/sisu/utils_spell.rb" +#+BEGIN_SRC ruby +#<> module SiSU_SpellUtility class Spell def initialize(input,filesrc,flg) @@ -250,8 +252,9 @@ __END__ ** utils_response.rb -#+BEGIN_SRC ruby :tangle "../lib/sisu/utils_response.rb" -<> +#+HEADER: :tangle "../lib/sisu/utils_response.rb" +#+BEGIN_SRC ruby +#<> module SiSU_Response def available_selections_ %{'yes', 'no', 'quit' or 'exit'; [ynqx]} @@ -314,8 +317,9 @@ __END__ ** utils_composite.rb -#+BEGIN_SRC ruby :tangle "../lib/sisu/utils_composite.rb" -<> +#+HEADER: :tangle "../lib/sisu/utils_composite.rb" +#+BEGIN_SRC ruby +#<> module SiSU_Composite_Doc_Utils def inserts_array(loadfilename) IO.readlines(loadfilename,'') @@ -379,8 +383,9 @@ __END__ ** utils_screen_text_color.rb -#+BEGIN_SRC ruby :tangle "../lib/sisu/utils_screen_text_color.rb" -<> +#+HEADER: :tangle "../lib/sisu/utils_screen_text_color.rb" +#+BEGIN_SRC ruby +#<> module SiSU_Screen class Color attr_accessor :off,:marker,:bold,:underline,:invert,:darkgrey_hi,:grey_hi,:pink_hi,:fuchsia_hi,:red_hi,:orange_hi,:yellow_hi,:brown_hi,:lightgreen_hi,:green_hi,:cyan_hi,:blue_hi,:navy_hi,:white,:white_bold,:grey,:pink,:fuchsia,:ruby,:red,:orange,:yellow,:brown,:green,:darkgreen,:cyan,:blue,:navy,:black @@ -803,8 +808,7 @@ __END__ #+NAME: sisu_document_header #+BEGIN_SRC text -#encoding: utf-8 -=begin +encoding: utf-8 - Name: SiSU - Description: documents, structuring, processing, publishing, search @@ -856,5 +860,4 @@ __END__ -=end #+END_SRC -- cgit v1.2.3