pry 0.7.0pre5 → 0.7.0pre6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pry/commands.rb +1 -1
- data/lib/pry/version.rb +1 -1
- metadata +2 -2
data/lib/pry/commands.rb
CHANGED
@@ -419,7 +419,7 @@ e.g: eval-file -c self "hello.rb"
|
|
419
419
|
gsub(/<em>(?:\s*\n)?(.*?)\s*<\/em>/m) { Pry.color ? "\e[32m#{$1}\e[0m": $1 }.
|
420
420
|
gsub(/<i>(?:\s*\n)?(.*?)\s*<\/i>/m) { Pry.color ? "\e[34m#{$1}\e[0m" : $1 }.
|
421
421
|
gsub(/\B\+(.*?)\+\B/) { Pry.color ? "\e[32m#{$1}\e[0m": $1 }.
|
422
|
-
gsub(/(
|
422
|
+
gsub(/((?:^[ \t]+.+(?:\n+|\Z))+)/) { Pry.color ? CodeRay.scan($1, code_type).term : $1 }
|
423
423
|
end
|
424
424
|
|
425
425
|
strip_leading_hash_from_ruby_comments = lambda do |comment|
|
data/lib/pry/version.rb
CHANGED