Unixy building blocks in ruby