Module: Kernel
- Defined in:
- lib/alda-rb/commandline.rb
Overview
Adding functions that is accessible everywhere.
Instance Method Summary collapse
-
#alda(*args) ⇒ Object
:call-seq: alda(*args) -> true or false.
Instance Method Details
#alda(*args) ⇒ Object
:call-seq:
alda(*args) -> true or false
Runs the alda command. Does not capture output.
alda 'version'
alda 'play', '-c', 'piano: a'
alda 'repl'
Returns whether the exit status is 0.
16 17 18 |
# File 'lib/alda-rb/commandline.rb', line 16 def alda *args system Alda.executable, *args end |