summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2015-04-07 17:00:58 +0000
committerRalph Amissah <ralph@amissah.com>2015-04-09 03:05:39 +0000
commitaa72429a9c195b1eee65689cfc93f3e959241e0e (patch)
tree5027b33890c6faa12e9da517f68db209e2044759 /lib
parentc&d: cleaning (diff)
downloadsisu-aa72429a9c195b1eee65689cfc93f3e959241e0e.zip
sisu-aa72429a9c195b1eee65689cfc93f3e959241e0e.tar.xz
d: ao_doc_objects fix for ao_doc_str
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/develop/ao_doc_objects.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/sisu/develop/ao_doc_objects.rb b/lib/sisu/develop/ao_doc_objects.rb
index 0d9fd7d..5a59af7 100644
--- a/lib/sisu/develop/ao_doc_objects.rb
+++ b/lib/sisu/develop/ao_doc_objects.rb
@@ -495,6 +495,18 @@ module SiSU_AO_DocumentStructure
of,is, obj, flag, act, selections,tmp
self
end
+ def flag_lng(h,o=nil)
+ of= @of #Symbol, classification - group
+ is= :flag_lng
+ obj= nil #String, text content
+ flag= h[:flag] || ((defined? o.flag) ? o.flag : nil) #Symbol, :lng_on or :lng_off
+ act= h[:act] || ((defined? o.act) ? o.act : nil) #Symbol, language set to :en etc.
+ selections= h[:selections] || ((defined? o.selections) ? o.selections : nil) #String, text content
+ tmp= h[:act] || ((defined? o.tmp) ? o.tmp : nil) #available for processing, empty after use
+ @of, @is,@obj,@flag,@act,@selections,@tmp=
+ of,is, obj, flag, act, selections,tmp
+ self
+ end
end
class ObjectLayout
attr_accessor :obj,:sym,:attr,:is,:is_for,:of,:from,:tmp,:num