1
2
3
4
#!/usr/bin/env ruby

files = ARGV.collect { |fname| File.new(fname, 'w') }
...

Ruby Randomly split input lines.

by Scott Robinson, November 15, 2007 08:56, No refactoring, tagged with short, functional, oneliner, one-liner

My first Ruby script. I'm c...

1945ab4cdb87eaf5a5c906fa884c29f1 Talk
1
2
3
4
# String#to_proc
#
# See http://weblog.raganwald.com/2007/10/stringtoproc.html ( Subscribe in a reader)
...

Ruby String#to_proc (by Reginald...

by webmat, October 28, 2007 06:27, 3 refactorings, tagged with functional

Reginald Braithwaite has a ...

A908bf6680c4fa7279dd85d5012f7ed8 Talk