load_buffer path (string)
Given a path to a file, will read the contents and load it into the current buffer. This will replace any previous content.
Introduced in v2.10
load_buffer "~/sonic-pi-tracks/phat-beats.rb"
# will replace content of current buffer with contents of the file