I\'ve been working my way through the Ruby Koans and am confused by the \"escape clauses and single quoted strings\" examples.
One example shows that I can\'t reall
This might be worth a read : http://en.wikibooks.org/wiki/Ruby_Programming/Strings
ruby-1.9.3-p0 :002 > a = '\\\'' => "\\'" ruby-1.9.3-p0 :003 > a.size => 2 ruby-1.9.3-p0 :004 > puts a \'
In single quotes there are only two escape characters : \\ and \'.
\\
\'