Class: SiSU_Info_Sys_Gen::InfoSystemGen
- Inherits:
-
Object
- Object
- SiSU_Info_Sys_Gen::InfoSystemGen
- Defined in:
- lib/sisu/se_info_system.rb
Direct Known Subclasses
SiSU_Env::InfoSystemGen, SiSU_Get_Init::GetInit, SiSU_Info_Sys::InfoSystem
Constant Summary collapse
- IMAGES =
:images
- SISU_ETC =
:sisu_etc
- SISU_SHARE =
:sisu_share
- SAMPLE_DATA_PATH =
:sample_data_path
- IMAGE_STUB =
:image_stub
- STYLESHEET_STUB =
:stylesheet_stub
- IMAGE_LOCAL =
:image_local
- WEBSERV_PATH =
:webserv_path
- WEBSERV_MAN =
:webserv_man
- WEBSERV_PHP =
:webserv_php
- WEBSERV_CGI =
:webserv_cgi
- WEBSERV_RSS =
:webserv_rss
- WEBSERV_SQLITE =
:webserv_sqlite
- OUTPUT_LOCAL =
:output_local
- PROCESSING_DIR =
:processing_dir
- PROCESSING_PATH =
:processing_path
- PROCESSING_DIR_TMP_ROOT =
:processing_dir_tmp_root
- PROCESSING_PATH_TMP_BASE =
:processing_path_tmp_base
- PROCESSING_AO =
:processing_ao
- PROCESSING_TUNE =
:processing_tune
- PROCESSING_LATEX =
:processing_latex
- PROCESSING_TEXINFO =
:processing_texinfo
- PROCESSING_LOUT =
:processing_lout
- PROCESSING_SQLITE =
:processing_sqlite
- PROCESSING_POSTGRESQL =
:processing_postgresql
- PROCESSING_ENCODING =
:processing_encoding
- PROCESSING_GIT =
:processing_git
- PAPERSIZE =
:papersize
- MULTILINGUAL =
LANGUAGE=:language LANGUAGE_CODE=:language_code
:multilingual
- BUNDLE =
:bundle
- CONCORD_MAX =
:concord_max
- DIGEST =
:digest
- WEBSERV_HOST_CGI =
:webserv_host_cgi
- WEBSERV_PORT_CGI =
:webserv_port_cgi
- POSTGRESQL_USER =
:postgresql_user
- POSTGRESQL_PORT =
:postgresql_port
- SQLITE_USER =
:sqlite_user
- SQLITE_PATH =
:sqlite_path
- SQLITE_PORT =
:sqlite_port
- DEFAULT_DIR =
{ IMAGES => '_sisu/image', SISU_ETC => etc, SISU_SHARE => share, SAMPLE_DATA_PATH => data, IMAGE_STUB => '_sisu/image', STYLESHEET_STUB => '_sisu/css', IMAGE_LOCAL => @@pwd + '/_sisu/image', WEBSERV_PATH => out + '/www', #WEBSERV_DIR => www, # uncomment for urls... #WEBSERV_IMAGE => out + '/www/_sisu/image', WEBSERV_MAN => out + '/www/man', #alter WEBSERV_PHP => out + '/www/php', WEBSERV_CGI => '/usr/lib/cgi-bin', WEBSERV_RSS => out + '/www/feed', WEBSERV_SQLITE => out + '/www/sqlite', OUTPUT_LOCAL => @@home + '/sisu_www', PROCESSING_DIR => processing_dir, PROCESSING_PATH => processing_pth, PROCESSING_DIR_TMP_ROOT => prcss_dir_tmp_root, PROCESSING_PATH_TMP_BASE => processing_pth, PROCESSING_AO => 'ao', PROCESSING_TUNE => 'tune', PROCESSING_LATEX => 'tex', PROCESSING_TEXINFO => 'texinfo', PROCESSING_SQLITE => 'sqlite', PROCESSING_POSTGRESQL=> 'postgresql', PROCESSING_ENCODING => 'encoding', PROCESSING_GIT => processing_git, #TEXINFO_STUB => 'texinfo', PAPERSIZE => 'A4', #A4, US_letter, book_b5, book_a5, US_legal #LANGUAGE => 'English', #LANGUAGE_CODE => 'en', #change, unecessary duplication though currently used MULTILINGUAL => false, BUNDLE => false, CONCORD_MAX => 260000, DIGEST => :sha256, WEBSERV_HOST_CGI => 'http://localhost', WEBSERV_PORT_CGI => 8081, #8111,8123,8081 POSTGRESQL_USER => @@user, #'ralph', # change user !!! POSTGRESQL_PORT => port_pgsql, #POSGRESQL_LINKS_PATH => '', SQLITE_USER => @@user, SQLITE_PATH => @@user, #?? SQLITE_PORT => '**', }
- @@default_dir =
DEFAULT_DIR
- @@pwd =
@pwd=SiSU_Utils::Path.new.base_markup
Instance Attribute Summary collapse
-
#ad_path ⇒ Object
Returns the value of attribute ad_path.
-
#arch ⇒ Object
Returns the value of attribute arch.
-
#default_dir ⇒ Object
Returns the value of attribute default_dir.
-
#dir_arch ⇒ Object
Returns the value of attribute dir_arch.
-
#dir_bin ⇒ Object
Returns the value of attribute dir_bin.
-
#dir_sitearch ⇒ Object
Returns the value of attribute dir_sitearch.
-
#home ⇒ Object
Returns the value of attribute home.
-
#host ⇒ Object
Returns the value of attribute host.
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#locale ⇒ Object
Returns the value of attribute locale.
-
#pwd ⇒ Object
Returns the value of attribute pwd.
-
#rbver ⇒ Object
Returns the value of attribute rbver.
-
#rc_path ⇒ Object
Returns the value of attribute rc_path.
-
#user ⇒ Object
Returns the value of attribute user.
-
#webserv_host_cgi ⇒ Object
Returns the value of attribute webserv_host_cgi.
-
#webserv_path ⇒ Object
Returns the value of attribute webserv_path.
-
#webserv_port_cgi ⇒ Object
Returns the value of attribute webserv_port_cgi.
Instance Method Summary collapse
-
#initialize ⇒ InfoSystemGen
constructor
A new instance of InfoSystemGen.
Constructor Details
#initialize ⇒ InfoSystemGen
Returns a new instance of InfoSystemGen.
187 188 189 190 191 |
# File 'lib/sisu/se_info_system.rb', line 187 def initialize @user, @home, @hostname, @pwd, @sisu_etc, @host, @arch, @rbver, @dir_arch, @dir_sitearch, @dir_bin, @locale, @default_dir= @@user,@@home,@@hostname,@@pwd,@@sisu_etc,@@host,@@arch,@@rbver,@@dir_arch,@@dir_sitearch,@@dir_bin,@@locale,@@default_dir #note rbver is duplicated in InfoVersion end |
Instance Attribute Details
#ad_path ⇒ Object
Returns the value of attribute ad_path.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def ad_path @ad_path end |
#arch ⇒ Object
Returns the value of attribute arch.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def arch @arch end |
#default_dir ⇒ Object
Returns the value of attribute default_dir.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def default_dir @default_dir end |
#dir_arch ⇒ Object
Returns the value of attribute dir_arch.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def dir_arch @dir_arch end |
#dir_bin ⇒ Object
Returns the value of attribute dir_bin.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def dir_bin @dir_bin end |
#dir_sitearch ⇒ Object
Returns the value of attribute dir_sitearch.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def dir_sitearch @dir_sitearch end |
#home ⇒ Object
Returns the value of attribute home.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def home @home end |
#host ⇒ Object
Returns the value of attribute host.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def host @host end |
#hostname ⇒ Object
Returns the value of attribute hostname.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def hostname @hostname end |
#locale ⇒ Object
Returns the value of attribute locale.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def locale @locale end |
#pwd ⇒ Object
Returns the value of attribute pwd.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def pwd @pwd end |
#rbver ⇒ Object
Returns the value of attribute rbver.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def rbver @rbver end |
#rc_path ⇒ Object
Returns the value of attribute rc_path.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def rc_path @rc_path end |
#user ⇒ Object
Returns the value of attribute user.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def user @user end |
#webserv_host_cgi ⇒ Object
Returns the value of attribute webserv_host_cgi.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def webserv_host_cgi @webserv_host_cgi end |
#webserv_path ⇒ Object
Returns the value of attribute webserv_path.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def webserv_path @webserv_path end |
#webserv_port_cgi ⇒ Object
Returns the value of attribute webserv_port_cgi.
186 187 188 |
# File 'lib/sisu/se_info_system.rb', line 186 def webserv_port_cgi @webserv_port_cgi end |