John-Li/my_programs — comment on commit a3271deb35d750386d8873bda8b412387a8499c0
File: book/task3-12.rb line 26
By gmile:

**protip**. Еще вот так можно делать:

```ruby
my_array = if condition1
[some_array_1]
elsif condition2
[some_array_2]
...
end

puts "Here are values from my array ..."
```