Skip to content

Commit ce240b5

Browse files
authored
Merge pull request #3446 from rbnpi/dev
Correct core.rb bug
2 parents 2f29218 + aaaf9b6 commit ce240b5

File tree

1 file changed

+1
-1
lines changed
  • app/server/ruby/lib/sonicpi/lang

1 file changed

+1
-1
lines changed

app/server/ruby/lib/sonicpi/lang/core.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -5115,7 +5115,7 @@ def load_example(example_name)
51155115
raise IOError, "Error - no example found with name: #{example_name.inspect}" unless path
51165116
buf = __current_job_info[:workspace]
51175117
__info "loading #{buf} with #{path}"
5118-
title = example_name.titleize
5118+
title = example_name.to_s.titleize
51195119
__replace_buffer(buf, "# #{title}\n" + File.read(path))
51205120
end
51215121
doc name: :load_example,

0 commit comments

Comments
 (0)