My current question is what does the << operator do in Ruby? But my real question is how would I search Google to find the answer?
+6
A:
Google for "ruby operators" (without the quotes), open the first link in a new window, use your browser to search for '<<' (without the quotes).
Joe Casadonte
2009-02-08 14:02:47
Already thought of that, but thanks. I wanted something a bit more specific.
Yar
2009-02-08 14:12:05
Months later, I think this is the best way.
Yar
2009-02-28 14:02:48
+4
A:
"shift left operator ruby"
Google will only find something if you search for words and numbers...
Chris
2009-02-08 14:03:10
Of course, this approach only works when you know that << means left shift ;)
Rowland Shaw
2009-02-08 14:11:41
That's true Rowland. I tried searching on "double less-than signs ruby" without the quotes and the result was okay.
Yar
2009-02-08 17:05:07
+1
A:
Google Code Search lets you search public source code repositories, so perhaps you can find examples of "<<" in Ruby to help you figure out what's going on.
Bkkbrad
2009-02-08 18:07:39
+1
A:
Use the "ruby operators" search Joe Casadonte suggested to find the words you're after, then google using those words?
Andrew Grimm
2009-02-08 23:19:00