Can't access printer? it's *here*

Hi there, @Eli is correct, defining classes in Sonic Pi isn’t officially supported.

It’s important to not that whilst Sonic Pi is implemented in Ruby, it isn’t Ruby (although it’s pretty close).

Here’s a more thorough explanation: MIDI loop/recording