first, *, last = 1,2,3,4,5 puts first puts last
1 5
def test( first, *, last) puts first puts last end test( 1, 2, 3, 4, 5 )
Sequel 2.0 Release Candidate has just been released. All deprecated methods have been removed so it’s probably a good idea to check your existing code before porting over.
Don’t forget the next meeting of the Cape Town Ruby Brigade takes place at 19:00 this Wednesday 14th May at the Bandwidth Barn in Cape Town. This months topic will be a report back on the Scotland on Rails conference. More details at the Cape Town Ruby Brigade Google group meeting page.
Read more articles at the Aimred Developer Blog home page.
Aimred is a specialist Ruby development house and consultancy based in Cape Town, South Africa.
We provide Ruby
services to all enterprise levels. If you want to find out how Ruby can help your company, contact us.
Ruby is a object oriented programming language that is designed to make development as quick and painless as posssible. Taking the best practices from a number of other languages, Ruby
Ruby is on the cutting edge of web development technology not only through the Ruby on Rails framework but also through new and exciting frameworks such as Merb and Sequel.
Ruby is also ideal for traditional application development and available APIs allow Ruby to create cross platform GUI application for Linux, Apple OS X, Microsoft Windows and FreeBSD.
Read more articles at the Aimred Company News home page.