aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/options.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v6/options.rb')
-rw-r--r--lib/sisu/v6/options.rb36
1 files changed, 31 insertions, 5 deletions
diff --git a/lib/sisu/v6/options.rb b/lib/sisu/v6/options.rb
index d7719ea4..e181ee8e 100644
--- a/lib/sisu/v6/options.rb
+++ b/lib/sisu/v6/options.rb
@@ -72,7 +72,22 @@ module SiSU_Commandline
@@sisu_call_origin_path=nil
class HeaderCommon
def sisu_document_make_instructions
- @pagenew=@pagebreak=@pageline=@toc=@lv1=@lv2=@lv3=@lv4=@lv5=@lv6=@num_top=@i18n=@man_section=@emphasis_set_to=@bold_match_list=@italics_match_list=@substitution_match_list=@footer_links=@home_button_links=@links=nil
+ @pagenew=
+ @pagebreak=
+ @pageline=
+ @toc=
+ @lv1=@lv2=@lv3=@lv4=@lv5=@lv6=
+ @num_top=
+ @i18n=
+ @man_section=
+ @emphasis_set_to=
+ @bold_match_list=
+ @italics_match_list=
+ @substitution_match_list=
+ @footer_links=
+ @home_button_links=
+ @links=
+ nil
make_instruct_array=SiSU_Env::GetInit.new.sisu_document_make.makefile_read
@makeset=false
if make_instruct_array
@@ -143,7 +158,8 @@ module SiSU_Commandline
attr_accessor :cmd,:mod,:act,:dir_structure_by,:lingual,:f_pths,:files,:files_mod,:base_path,:base_stub,:sub_location,:paths,:lngs,:f_pth,:pth,:fno,:fns,:fnb,:fnc,:fng,:fncb,:lng,:lng_base,:what,:make_instructions,:make_instructions_pod
@@act=nil
def initialize(a)
- @cmd,@f_pth,@pth,@fno,@fns,@fnb,@fnc,@fng,@fncb,@what,@lng,@lng_base,@base_path,@base_stub,@sub_location='','','','','','','','','','','','','',''
+ @cmd,@f_pth,@pth,@fno,@fns,@fnb,@fnc,@fng,@fncb,@what,@lng,@lng_base,@base_path,@base_stub,@sub_location=
+ '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''
@f_pths,@files,@files_mod,@paths,@mod,@act=Array.new(5){[]}
@env=SiSU_Env::InfoEnv.new
@lng_base=@env.language_default_set
@@ -316,7 +332,8 @@ module SiSU_Commandline
FileUtils::mkdir_p(pt.to_s)
pod_make_path=fullname + '/sisupod/doc/_sisu'
make_instruct_array=sisu_document_make_pod.makefile_read(pod_make_path)
- @make_instructions_pod=HeaderCommon.new(make_instruct_array).sisu_document_make_instructions
+ @make_instructions_pod=
+ HeaderCommon.new(make_instruct_array).sisu_document_make_instructions
Dir.chdir(pt.realpath)
system("
chdir #{fullname}
@@ -410,7 +427,7 @@ module SiSU_Commandline
lng: lng_is,
lng_is: lng_is,
url_base: nil,
- url: nil
+ url: nil,
}
else puts "file not found: #{x}"
end
@@ -422,7 +439,16 @@ module SiSU_Commandline
puts "#{x} in #{a.join(' ')}?"
end
end
- { cmd: c, mod: m, what: w, paths: pth, files: f, f_pths: f_pths, lng: lng_is, lngs: lngs }
+ {
+ cmd: c,
+ mod: m,
+ what: w,
+ paths: pth,
+ files: f,
+ f_pths: f_pths,
+ lng: lng_is,
+ lngs: lngs,
+ }
end
def expand_numeric_shortcuts(a)
shortcut=SiSU_Env::InfoProcessingFlag.new