class Pygments class << self def colorize # Do colorizing stuff here heredoc = <<EOF Some text yay!!! EOF end end end
Now using EXAMPLE blocks instead:
def hello() puts "hello" end
Small case should work as well:
class Hello def say puts "hola" end end
class Piano def play_note(note) # TODO end end