S
Size: a a a
S
IP
SS
IP
IP
S
SS
SS
IP
SS
)
$arr = [3, 2, 4]
$arr2 = []
def my_map
yield $arr
end
result = my_map { |x|
x.each { |n| $arr2 << n + n }
$arr2
}
puts "my map: #{result}"YR
IS
UI
q1
UI
ML
Returns nil if no changes are made. There is an exception for modern Georgian (mkhedruli/MTAVRULI), where the result is the same as for String#downcase, to avoid mixed case. See String#downcase for meaning of options and use with different encodings.IP
q1