Class: SiSU_XHTML::Source::Scroll

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

Instance Method Summary collapse

Constructor Details

#initialize(particulars) ⇒ Scroll

Returns a new instance of Scroll.



148
149
150
151
152
153
154
# File 'lib/sisu/xhtml.rb', line 148

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

Instance Method Details

#songsheetObject



155
156
157
158
159
160
161
162
163
164
# File 'lib/sisu/xhtml.rb', line 155

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