SREERAMI
Saturday, 10 August 2013
Execution of ruby OR condition on an array
Execution of ruby OR condition on an array
In irb
[[]] | [3]
produces
[[], 3]
I am having some difficulty understanding it. How is the OR operator
working here ?
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment