RosettaCodeData/Task/Inverted-syntax/Ruby/inverted-syntax-2.rb
2025-06-11 20:16:52 -04:00

4 lines
40 B
Ruby

7 => a
:x in b
p [a, b] # => [7, :x]