We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2f29218 + aaaf9b6 commit ce240b5Copy full SHA for ce240b5
app/server/ruby/lib/sonicpi/lang/core.rb
@@ -5115,7 +5115,7 @@ def load_example(example_name)
5115
raise IOError, "Error - no example found with name: #{example_name.inspect}" unless path
5116
buf = __current_job_info[:workspace]
5117
__info "loading #{buf} with #{path}"
5118
- title = example_name.titleize
+ title = example_name.to_s.titleize
5119
__replace_buffer(buf, "# #{title}\n" + File.read(path))
5120
end
5121
doc name: :load_example,
0 commit comments