What does the following code mean in Ruby?
||=
Does it have any meaning or reason for the syntax?
Please also remember that ||= isn't an atomic operation and so, it isn't thread safe. As rule of thumb, don't use it for class methods.