5 lines
96 B
Text
5 lines
96 B
Text
logic = { a, b |
|
|
p "a and b: #{ a && b }"
|
|
p "a or b: #{ a || b }"
|
|
p "not a: #{ not a }"
|
|
}
|