Flowdock
method

|

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: TrueClass
|(p1) public

Or—Returns true. As anObject is an argument to a method call, it is always evaluated; there is no short-circuit evaluation in this case.

true |  puts("or")
true || puts("logical or")

produces:

or
Show source
Register or log in to add new notes.