Class: SiSU_JSON::Source::Scroll

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

Instance Method Summary collapse

Constructor Details

#initialize(particulars) ⇒ Scroll

Returns a new instance of Scroll.



146
147
148
149
150
151
152
# File 'lib/sisu/json.rb', line 146

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

Instance Method Details

#songsheetObject



153
154
155
156
157
158
159
160
161
162
# File 'lib/sisu/json.rb', line 153

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