Class: Element
- Inherits:
-
Object
- Object
- Element
- Defined in:
- lib/akane_sound/class.element.rb
Instance Attribute Summary collapse
-
#bg_rect ⇒ Object
Returns the value of attribute bg_rect.
-
#dur ⇒ Object
Returns the value of attribute dur.
-
#dur_dst ⇒ Object
Returns the value of attribute dur_dst.
-
#txt ⇒ Object
Returns the value of attribute txt.
-
#txt_bld ⇒ Object
Returns the value of attribute txt_bld.
-
#txt_dst ⇒ Object
Returns the value of attribute txt_dst.
-
#txt_sel ⇒ Object
Returns the value of attribute txt_sel.
-
#txt_sel_bld ⇒ Object
Returns the value of attribute txt_sel_bld.
-
#txt_src ⇒ Object
Returns the value of attribute txt_src.
Instance Method Summary collapse
- #destroy ⇒ Object
-
#initialize ⇒ Element
constructor
A new instance of Element.
Constructor Details
#initialize ⇒ Element
Returns a new instance of Element.
4 5 6 7 |
# File 'lib/akane_sound/class.element.rb', line 4 def initialize @txt = nil @dur = nil end |
Instance Attribute Details
#bg_rect ⇒ Object
Returns the value of attribute bg_rect.
2 3 4 |
# File 'lib/akane_sound/class.element.rb', line 2 def bg_rect @bg_rect end |
#dur ⇒ Object
Returns the value of attribute dur.
2 3 4 |
# File 'lib/akane_sound/class.element.rb', line 2 def dur @dur end |
#dur_dst ⇒ Object
Returns the value of attribute dur_dst.
2 3 4 |
# File 'lib/akane_sound/class.element.rb', line 2 def dur_dst @dur_dst end |
#txt ⇒ Object
Returns the value of attribute txt.
2 3 4 |
# File 'lib/akane_sound/class.element.rb', line 2 def txt @txt end |
#txt_bld ⇒ Object
Returns the value of attribute txt_bld.
2 3 4 |
# File 'lib/akane_sound/class.element.rb', line 2 def txt_bld @txt_bld end |
#txt_dst ⇒ Object
Returns the value of attribute txt_dst.
2 3 4 |
# File 'lib/akane_sound/class.element.rb', line 2 def txt_dst @txt_dst end |
#txt_sel ⇒ Object
Returns the value of attribute txt_sel.
2 3 4 |
# File 'lib/akane_sound/class.element.rb', line 2 def txt_sel @txt_sel end |
#txt_sel_bld ⇒ Object
Returns the value of attribute txt_sel_bld.
2 3 4 |
# File 'lib/akane_sound/class.element.rb', line 2 def txt_sel_bld @txt_sel_bld end |
#txt_src ⇒ Object
Returns the value of attribute txt_src.
2 3 4 |
# File 'lib/akane_sound/class.element.rb', line 2 def txt_src @txt_src end |
Instance Method Details
#destroy ⇒ Object
9 10 11 12 |
# File 'lib/akane_sound/class.element.rb', line 9 def destroy @txt.destroy if @txt @dur.destroy if @dur end |