mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Merge pull request #977 from sbryant/no-string-suffixes
Fix ruby 2.1 string issue.
This commit is contained in:
commit
f5ba4de3ca
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class Pry
|
|||
colorized = colorized.sub(/(\n*)\z/, "\e[0m\\1") if Pry.color
|
||||
|
||||
result = colorized.gsub(/%<(.*?)#{nonce}/, '#<\1')
|
||||
result = "=> #{result}"if options[:hashrocket]
|
||||
result = "=> #{result}" if options[:hashrocket]
|
||||
Helpers::BaseHelpers.stagger_output(result, output)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue