aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/utils.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/utils.org')
-rw-r--r--org/utils.org29
1 files changed, 16 insertions, 13 deletions
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"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/utils.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
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"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/utils_spell.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
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"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/utils_response.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
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"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/utils_composite.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
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"
-<<sisu_document_header>>
+#+HEADER: :tangle "../lib/sisu/utils_screen_text_color.rb"
+#+BEGIN_SRC ruby
+#<<sisu_document_header>>
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__
<https://git.sisudoc.org/projects/>
<https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary>
<https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary>
-=end
#+END_SRC