Skip to content

Commit

Permalink
Merge pull request #3446 from rbnpi/dev
Browse files Browse the repository at this point in the history
Correct core.rb bug
  • Loading branch information
samaaron authored Feb 26, 2025
2 parents 2f29218 + aaaf9b6 commit ce240b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/server/ruby/lib/sonicpi/lang/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5115,7 +5115,7 @@ def load_example(example_name)
raise IOError, "Error - no example found with name: #{example_name.inspect}" unless path
buf = __current_job_info[:workspace]
__info "loading #{buf} with #{path}"
title = example_name.titleize
title = example_name.to_s.titleize
__replace_buffer(buf, "# #{title}\n" + File.read(path))
end
doc name: :load_example,
Expand Down

0 comments on commit ce240b5

Please sign in to comment.