this question has answer here:
- ruby |= assignment operator 4 answers
in ruby, |= operator do?
example:
a = 23 |= 3333 # => 3351
the single vertical bar bitwise or operator.
a |= 3333 equivalent a = | 3333
this question has answer here:
in ruby, |= operator do?
example:
a = 23 |= 3333 # => 3351
the single vertical bar bitwise or operator.
a |= 3333 equivalent a = | 3333
Comments
Post a Comment