For a "fun time" in Ruby, take the string "'xo" and try to put a backslash before the single quote (in a way that works for any string).
@josh_cheek Is that from inspect, or puts? If that's the output from inspect it's correct.
-
-
@sgrif yeah, that's like `p(f("'xo"))` -
@josh_cheek The Ruby version is correct. If you `puts` it out, it'll have what you're looking for. Inspect escapes backslashes and double qs - 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.