bug or feature: "some_string".inspect

Hi all,

I run into some strange issue:
When I'm debugging in RM and add to watches:
"some_string".inspect or '"some_string"' (note:its triple quoted)
i get "some_string"
while when I do "some_string".inspect from irb, i get "\"some_string\""

How does it work?
what happened to my quotes?

Is this a bug or a feature? It cost me several hours to find a bug in my own code that was related to quotes in strings

2 comments

Thanks!
Didn't know whether it was a bug from rubymine or ruby-debug-ide

0

Please sign in to leave a comment.