In other words, this is valid in Ruby:

```ruby
def sum(x, y)
   x + y
end
```