From e5a02b6a9c16f5e30a31a175c653f924982ad8d6 Mon Sep 17 00:00:00 2001 From: Geoffrey Litt Date: Tue, 13 Oct 2015 22:26:37 -0400 Subject: [PATCH] use ruby syntax highlighting in README --- README.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5a03a538..1165cd8d 100644 --- a/README.md +++ b/README.md @@ -137,20 +137,22 @@ implementing developer consoles and applying hot patches. code: - # test.rb - require 'pry' +```ruby +# test.rb +require 'pry' - class A - def hello() puts "hello world!" end - end +class A + def hello() puts "hello world!" end +end - a = A.new +a = A.new - # start a REPL session - binding.pry +# start a REPL session +binding.pry - # program resumes here (after pry session) - puts "program resumes here." +# program resumes here (after pry session) +puts "program resumes here." +``` Pry session: