Class: SiSU_SimpleXML_ModelSax::Convert::Scroll
- Inherits:
-
Object
- Object
- SiSU_SimpleXML_ModelSax::Convert::Scroll
- Includes:
- SiSU_TextUtils
- Defined in:
- lib/sisu/sst_to_s_xml_sax.rb
Constant Summary collapse
- @@xml =
{ body: [], open: [], close: [], head: [] }
Instance Method Summary collapse
-
#initialize(data = '', particulars = '') ⇒ Scroll
constructor
A new instance of Scroll.
- #songsheet ⇒ Object
Constructor Details
#initialize(data = '', particulars = '') ⇒ Scroll
Returns a new instance of Scroll.
145 146 147 148 149 150 151 152 153 |
# File 'lib/sisu/sst_to_s_xml_sax.rb', line 145 def initialize(data='',particulars='') @data,@env,@md=data,particulars.env,particulars.md @regx=/^(?:#{Mx[:mk_o]}:p[bn]#{Mx[:mk_c]}\s*)?(?:#{Mx[:lv_o]}[1-9]:(\S*)#{Mx[:lv_c]})?(.+)/ @tab="\t" if @md @trans=SiSU_XML_Munge::Trans.new(@md) end @sys=SiSU_Env::SystemCall.new end |
Instance Method Details
#songsheet ⇒ Object
154 155 156 157 158 159 |
# File 'lib/sisu/sst_to_s_xml_sax.rb', line 154 def songsheet pre markup post publish end |