#! /usr/bin/ruby1.9.1
# encoding: utf-8
#SiSU: copyright (C) 1997 - 2011 Ralph Amissah; License GPL, see appended program information
begin
def check_sisu_stable_ruby_version?
rbv_sisu_stable='1.9.2' #'1.8.7'
if RUBY_VERSION < rbv_sisu_stable
raise "Please, use Ruby#{rbv_sisu_stable} or later, current Ruby #{RUBY_VERSION}"
else check_incompatible_ruby_build?
end
end
def check_sisu_dev_ruby_version?
rbv_sisu_dev='1.9.2'
if RUBY_VERSION < rbv_sisu_dev
raise "Please, use Ruby#{rbv_sisu_dev} or later, current Ruby #{RUBY_VERSION}"
else check_incompatible_ruby_build?
end
end
def check_incompatible_ruby_build?
require 'rbconfig'
e=Config::CONFIG
if RUBY_VERSION == '1.9.2' \
and e['PATCHLEVEL'].to_i < 180
raise <.
If you have Internet connection, the latest version of the GPL should be
available at these locations:
* SiSU uses:
* Standard SiSU markup syntax,
* Standard SiSU meta-markup syntax, and the
* Standard SiSU object citation numbering and system
* Hompages:
* Download:
* Ralph Amissah
** Description: SiSU information Structuring Universe, specialised
pre-processing wrapper
sisu -t x_bank.and.*
e.g. sisu -t x_bank.and.*.termsheet.rb
e.g. sisu_termsheet.rb -t x_bank.and.c*.termsheet.rb
program calls upon termsheet file with extension termsheet.rb
termsheet.rb calls upon relevant standard form files (to be used) with extension .sForm.rb
there is also a standard_terms.rb file - with terms/details that are constant
the file produced is named after the termsheet.rb with that extension replaced with .er30
from there scribbler.rb is called upon its usual metaVerse html and pdf creation
! :-)
to test run
termsheet.rb -f dev.export.import.trade.facility.termsheet.rb
the term sheet calls the standard form or template that is to be run against it.