Class: SiSU_HTML_Scroll::Scroll
- Inherits:
-
Object
- Object
- SiSU_HTML_Scroll::Scroll
- Defined in:
- lib/sisu/html_scroll.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(md = '', data = '', endnotes = '') ⇒ Scroll
constructor
A new instance of Scroll.
- #songsheet ⇒ Object
Constructor Details
#initialize(md = '', data = '', endnotes = '') ⇒ Scroll
Returns a new instance of Scroll.
61 62 63 |
# File 'lib/sisu/html_scroll.rb', line 61 def initialize(md='',data='',endnotes='') @md,@data,@endnotes=md,data,endnotes end |
Instance Method Details
#songsheet ⇒ Object
64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'lib/sisu/html_scroll.rb', line 64 def songsheet begin scr=SiSU_HTML_Scroll::Scroll.new(@md,@data,@endnotes).markup scr[:tails]=SiSU_HTML_Scroll::Scroll.new(@md).tails scr rescue SiSU_Errors::Rescued.new($!,$@,@md.opt.selections.str,@md.fns).location do __LINE__.to_s + ':' + __FILE__ end ensure end end |