Class: Sections
- Inherits:
-
MelodyObject
- Object
- MelodyObject
- Sections
- Defined in:
- lib/melody_object/Mo_h_hc.rb
Instance Attribute Summary
Attributes inherited from MelodyObject
#children, #childrenlist, #chn, #currentchild, #flag, #gotimeobject, #leng, #name, #nayme, #offset, #parent, #place, #seeder, #situation, #space, #started, #status, #type, #val
Instance Method Summary collapse
- #childtypestatus ⇒ Object
-
#localinit(gotimobj) ⇒ Object
-
when initializing from a structure, first create any gotimobj and deliver.
-
- #locallocal ⇒ Object
Methods inherited from MelodyObject
#alter_pitch, #alter_versions_all, #alteri, #anewchildren, #backout, #bottomlevel, #bottomlevel!, #cc, #checkwhere, #ending?, #fynd, #fynd!, #go_down, #go_up, #gotime, #halved, #initialize, #innerbottomlevel, #innerbottomlevel!, #innerfynd, #innerfynd!, #klean, #lastchild, #midifeed, #pass, #passchildrensdata, #repl, #runn, #setsituations, #starting?, #statusempties, #statussituation, #threadout, #versionize
Constructor Details
This class inherits a constructor from MelodyObject
Instance Method Details
#childtypestatus ⇒ Object
1070 1071 1072 1073 |
# File 'lib/melody_object/Mo_h_hc.rb', line 1070 def childtypestatus childtype=if @currentchild==@children.length-1 then :lastchild else :notlastchild end {childtype=>@children[@currentchild].status} end |
#localinit(gotimobj) ⇒ Object
-
when initializing from a structure, first create any gotimobj and deliver
1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 |
# File 'lib/melody_object/Mo_h_hc.rb', line 1056 def localinit(gotimobj) #- when initializing from a structure, first create any gotimobj and deliver if gotimobj.class==Fixnum gotimobj=1 if gotimobj==0 @gotimeobject=GotimeObject.new(gotimobj) else @gotimeobject=gotimobj end locallocal end |
#locallocal ⇒ Object
1067 1068 |
# File 'lib/melody_object/Mo_h_hc.rb', line 1067 def locallocal end |