Class: SiSU_XML_SAX::Source::Scroll

Inherits:
Object
  • Object
show all
Includes:
SiSU_TextUtils
Defined in:
lib/sisu/xml_sax.rb

Instance Method Summary collapse

Constructor Details

#initialize(particulars) ⇒ Scroll

Returns a new instance of Scroll.



161
162
163
164
165
166
167
# File 'lib/sisu/xml_sax.rb', line 161

def initialize(particulars)
  @env,             @md,           @ao_arr=
    particulars.env,particulars.md,particulars.ao_array
  @trans=SiSU_XML_Munge::Trans.new(@md)
  @sys=SiSU_Env::SystemCall.new
  @per=SiSU_XML_Persist::Persist.new
end

Instance Method Details

#songsheetObject



168
169
170
171
172
173
174
175
176
177
# File 'lib/sisu/xml_sax.rb', line 168

def songsheet
  begin
    pre
    @data=markup(@ao_arr)
    post
    publish
  ensure
    SiSU_XML_Persist::Persist.new.persist_init
  end
end