# The definitive list of ||= (OR Equal) threads and pages

**URL:** <https://www.ruby-forum.com/t/the-definitive-list-of-or-equal-threads-and-pages/136446>\
**Category:** Ruby\
**Created:** [May 2, 2008, 6:30am UTC](https://www.ruby-forum.com/t/the-definitive-list-of-or-equal-threads-and-pages/136446 "2008-05-02T06:30:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rubyfreak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Post date:** [May 2, 2008, 6:30am UTC](https://www.ruby-forum.com/t/the-definitive-list-of-or-equal-threads-and-pages/136446/1 "2008-05-02T06:30:54Z")

</div>

Since you can’t search google groups for ||=. I have put this thread  
together with links to all the threads about ||= from Comp.lang.ruby.

The next time someone asks about ||=, have them search for “Or Equal”

PLEASE DON’T RESPOND TO THIS THREAD (we’ve heard enough)

Please do rate it.

Threads from Google groups ruby:

Please explain nuances of ||=  
[http://groups.google.com/group/comp.lang.ruby/browse\_thread/thread/cb531a6aa93f43b7/763899255643ccac#763899255643ccac](http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/cb531a6aa93f43b7/763899255643ccac#763899255643ccac)

The ||= assignment operator  
[http://groups.google.com/group/comp.lang.ruby/browse\_thread/thread/47f273f6ab57303e/291babfc79b4b822](http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/47f273f6ab57303e/291babfc79b4b822)  
[http://groups.google.com/group/comp.lang.ruby/browse\_thread/thread/47f273f6ab57303e/bc12010ecc8b6c61?lnk=st&q=#bc12010ecc8b6c61](http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/47f273f6ab57303e/bc12010ecc8b6c61?lnk=st&q=#bc12010ecc8b6c61)

What does “||=” mean?  
[http://groups.google.com/group/rubyonrails-talk/browse\_thread/thread/5dd4563099f97113/afc2a425523cbcef?lnk=st&q=#afc2a425523cbcef](http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/5dd4563099f97113/afc2a425523cbcef?lnk=st&q=#afc2a425523cbcef)

Rick DeNatale  
x ||= y, Redux  
[http://talklikeaduck.denhaven2.com/articles/2008/04/26/x-y-redux](http://talklikeaduck.denhaven2.com/articles/2008/04/26/x-y-redux)

David A Black  
A short-circuit (||=) edge case  
[http://dablog.rubypal.com/2008/3/25/a-short-circuit-edge-case](http://dablog.rubypal.com/2008/3/25/a-short-circuit-edge-case)

usenet posts referred to in the google links above

[http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/297185](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/297185)  
[http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/297145](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/297145)

SEO stuff to get y’all here.  
OrEqual Or-Equal “OR EQUAL” double-pipe equal pipe-pipe equal pipe  
pipe equal
