params which block wants to receive should be defined near do block
```
keys.all? do |key|
  # do smth with key
end
```