Ruby: Examples of splitting