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.
59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/sisu/ao_persist.rb', line 59 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.
58 59 60 |
# File 'lib/sisu/ao_persist.rb', line 58 def ao_arr @ao_arr end |
#fns ⇒ Object
Returns the value of attribute fns.
58 59 60 |
# File 'lib/sisu/ao_persist.rb', line 58 def fns @fns end |
#idx_arr_html ⇒ Object
Returns the value of attribute idx_arr_html.
58 59 60 |
# File 'lib/sisu/ao_persist.rb', line 58 def idx_arr_html @idx_arr_html end |
#idx_arr_sst ⇒ Object
Returns the value of attribute idx_arr_sst.
58 59 60 |
# File 'lib/sisu/ao_persist.rb', line 58 def idx_arr_sst @idx_arr_sst end |
#idx_arr_tex ⇒ Object
Returns the value of attribute idx_arr_tex.
58 59 60 |
# File 'lib/sisu/ao_persist.rb', line 58 def idx_arr_tex @idx_arr_tex end |
#idx_arr_xhtml ⇒ Object
Returns the value of attribute idx_arr_xhtml.
58 59 60 |
# File 'lib/sisu/ao_persist.rb', line 58 def idx_arr_xhtml @idx_arr_xhtml end |
#map_arr_nametags ⇒ Object
Returns the value of attribute map_arr_nametags.
58 59 60 |
# File 'lib/sisu/ao_persist.rb', line 58 def @map_arr_nametags end |
#map_arr_ocn_htmlseg ⇒ Object
Returns the value of attribute map_arr_ocn_htmlseg.
58 59 60 |
# File 'lib/sisu/ao_persist.rb', line 58 def map_arr_ocn_htmlseg @map_arr_ocn_htmlseg end |
Instance Method Details
#persist_init ⇒ Object
106 107 108 109 |
# File 'lib/sisu/ao_persist.rb', line 106 def persist_init @@persistance=nil Persist.new(persist_init_hash_values) end |
#persist_init_hash_values ⇒ Object
94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/sisu/ao_persist.rb', line 94 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 |