eval_file filename (path)
Reads the full contents of the file with path and executes within the current thread like a function call.
path
Introduced in v3.2
eval_file "~/path/to/sonic-pi-code.rb"
#=> will run the contents of this file