I found a funny feature of Ruby tonight: if possible, commandline
arguments are automatically globbed. For instance in a directory with
one file foo.bar:
=> ARGV = [‘foo.bar’]
=> ARGV = [’.html’]
Even the ** kind of globbing works.
I’ve tried to search google and the pickaxe book, but haven’t found any
documentation on this feature.
Comments are appreciated.