Logan Capaldo wrote:
> It's neat but I've always thought that this should be the definition of 
> String#/:
> 
> class String
>   alias_method :/, :split
> end

Yeah, why isn't it?

irb(main):015:0> "now is the time" / " "
=> ["now", "is", "the", "time"]
irb(main):016:0> ("now is the time" / " ") * " "
=> "now is the time"
irb(main):017:0> ("now is the time" / " ") * "-"
=> "now-is-the-time"

Since Array#* is the same as Array#join when the arg is a string, it's a 
no-brainer to define String#/ like you did.

-- 
       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407