From: Brian Candler Date: 2010-05-04T19:18:48+09:00 Subject: Re: * splat error Ruby Knight wrote: > Hello, i need some help here, when i run the following code i get the > error below. Why is that, according to the textbook it should work, also > looked it up in the cookbook, no luck there too. Thanks in advance. > > def split_apart(first, *splat, last) What Robert is saying is that is valid syntax for ruby 1.9, but not for ruby 1.8. I don't know what "the textbook" and "the cookbook" are that you refer to, but they were probably written for 1.9. ruby 1.9 is a substantially different language to ruby 1.8, which you probably wouldn't expect from the "minor" version bump. -- Posted via http://www.ruby-forum.com/.