Method: Alda::REPL::TempScore#score
- Defined in:
- lib/alda-rb/repl.rb
#score ⇒ Object Also known as: score_text
:call-seq:
score() -> nil
Print the history (all Alda code of the score).
$ alda-irb
> violin_; a b
violin: [a b]
> score
violin: [a b]
> clear_history
> score
> viola_; c
viola: c
> score
viola: c
175 176 177 178 |
# File 'lib/alda-rb/repl.rb', line 175 def score print @session.color ? @session.history.blue : @session.history nil end |