Simple ruby replacement for unix 'cut'