short circuit evaluation
Ruby doesn’t look at both expressions unless it has to; if it sees
false && true
it stops reading as soon as it sees &&
because it knows false &&
anything must be false.
0
Kudos
0
Kudos
Ruby doesn’t look at both expressions unless it has to; if it sees
false && true
it stops reading as soon as it sees &&
because it knows false &&
anything must be false.
what I tried ubuntu 14.04 LTS install / and update —after that open terminal ctl+alt T install git - at ubuntu software center (need git to install rbenv) $ git --version git version 1.9.1 install rbenv $ git clone... Continue →