Class: Musicality::ScoreDSL
- Inherits:
-
Object
- Object
- Musicality::ScoreDSL
- Defined in:
- lib/musicality/composition/dsl/score_dsl.rb
Instance Attribute Summary collapse
-
#score ⇒ Object
readonly
Returns the value of attribute score.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ ScoreDSL
constructor
A new instance of ScoreDSL.
- #tempo_score(start_tempo, &block) ⇒ Object
Constructor Details
#initialize ⇒ ScoreDSL
Returns a new instance of ScoreDSL.
11 12 13 |
# File 'lib/musicality/composition/dsl/score_dsl.rb', line 11 def initialize @score = nil end |
Instance Attribute Details
#score ⇒ Object (readonly)
Returns the value of attribute score.
10 11 12 |
# File 'lib/musicality/composition/dsl/score_dsl.rb', line 10 def score @score end |