RosettaCodeData/Task/Inverted-syntax/Ruby/inverted-syntax-2.rb

5 lines
40 B
Ruby
Raw Permalink Normal View History

2025-06-11 20:16:52 -04:00
7 => a
:x in b
p [a, b] # => [7, :x]