Method: Alda::REPL::TempScore#to_s
- Defined in:
- lib/alda-rb/repl.rb
#to_s ⇒ Object
:call-seq:
to_s -> String
Overrides Alda::Score#to_s. Returns the history.
$ alda-irb
> harmonica_; a b c
harmonica: [a b c]
> guitar_; c g e
guitar: [c g e]
> p to_s
"harmonica: [a b c]\nguitar: [c g e]\n"
125 126 127 |
# File 'lib/alda-rb/repl.rb', line 125 def to_s @session.history end |