Class: SiSU_AO_Persist::Persist
- Inherits:
-
Object
- Object
- SiSU_AO_Persist::Persist
- Defined in:
- lib/sisu/ao_persist.rb
Constant Summary collapse
- @@persistance =
nil
Instance Attribute Summary collapse
-
#ao_arr ⇒ Object
Returns the value of attribute ao_arr.
-
#fns ⇒ Object
Returns the value of attribute fns.
-
#idx_arr_html ⇒ Object
Returns the value of attribute idx_arr_html.
-
#idx_arr_sst ⇒ Object
Returns the value of attribute idx_arr_sst.
-
#idx_arr_tex ⇒ Object
Returns the value of attribute idx_arr_tex.
-
#idx_arr_xhtml ⇒ Object
Returns the value of attribute idx_arr_xhtml.
-
#map_arr_nametags ⇒ Object
Returns the value of attribute map_arr_nametags.
-
#map_arr_ocn_htmlseg ⇒ Object
Returns the value of attribute map_arr_ocn_htmlseg.
Instance Method Summary collapse
-
#initialize(args = nil) ⇒ Persist
constructor
A new instance of Persist.
- #persist_init ⇒ Object
- #persist_init_hash_values ⇒ Object
Constructor Details
#initialize(args = nil) ⇒ Persist
Returns a new instance of Persist.
61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/sisu/ao_persist.rb', line 61 def initialize(args=nil) @@persistance=args=(args ? args : (@@persistance || persist_init_hash_values)) @fns=args[:fns] @ao_arr=args[:ao_arr] @idx_arr_sst=args[:idx_arr_sst] @idx_arr_tex=args[:idx_arr_tex] @idx_arr_html=args[:idx_arr_html] @idx_arr_xhtml=args[:idx_arr_xhtml] @map_arr_nametags=args[:map_arr_nametags] @map_arr_ocn_htmlseg=args[:map_arr_ocn_htmlseg] end |
Instance Attribute Details
#ao_arr ⇒ Object
Returns the value of attribute ao_arr.
60 61 62 |
# File 'lib/sisu/ao_persist.rb', line 60 def ao_arr @ao_arr end |
#fns ⇒ Object
Returns the value of attribute fns.
60 61 62 |
# File 'lib/sisu/ao_persist.rb', line 60 def fns @fns end |
#idx_arr_html ⇒ Object
Returns the value of attribute idx_arr_html.
60 61 62 |
# File 'lib/sisu/ao_persist.rb', line 60 def idx_arr_html @idx_arr_html end |
#idx_arr_sst ⇒ Object
Returns the value of attribute idx_arr_sst.
60 61 62 |
# File 'lib/sisu/ao_persist.rb', line 60 def idx_arr_sst @idx_arr_sst end |
#idx_arr_tex ⇒ Object
Returns the value of attribute idx_arr_tex.
60 61 62 |
# File 'lib/sisu/ao_persist.rb', line 60 def idx_arr_tex @idx_arr_tex end |
#idx_arr_xhtml ⇒ Object
Returns the value of attribute idx_arr_xhtml.
60 61 62 |
# File 'lib/sisu/ao_persist.rb', line 60 def idx_arr_xhtml @idx_arr_xhtml end |
#map_arr_nametags ⇒ Object
Returns the value of attribute map_arr_nametags.
60 61 62 |
# File 'lib/sisu/ao_persist.rb', line 60 def @map_arr_nametags end |
#map_arr_ocn_htmlseg ⇒ Object
Returns the value of attribute map_arr_ocn_htmlseg.
60 61 62 |
# File 'lib/sisu/ao_persist.rb', line 60 def map_arr_ocn_htmlseg @map_arr_ocn_htmlseg end |
Instance Method Details
#persist_init ⇒ Object
108 109 110 111 |
# File 'lib/sisu/ao_persist.rb', line 108 def persist_init @@persistance=nil Persist.new(persist_init_hash_values) end |
#persist_init_hash_values ⇒ Object
96 97 98 99 100 101 102 103 104 105 106 107 |
# File 'lib/sisu/ao_persist.rb', line 96 def persist_init_hash_values { fns: nil, ao_arr: [], idx_arr_sst: [], idx_arr_tex: [], idx_arr_html: [], idx_arr_xhtml: [], map_arr_nametags: [], map_arr_ocn_htmlseg: [], } end |