Welcome Guest

Ruby Plus

Free Ruby and Rails Screencasts
Navigation: Home | Services | Mentoring | Login | Signup | Archive | RSS Feed

Search

 

Services

Hire Us

Become a Member

Sign up for free membership and get notifications for members only free Ruby and Rails screencasts. Privacy

Rails Meetup

If you live in the bay area, check out Silicon Valley Ruby Meetup

Home Office

For those who are curious, here is my Home Office

Recommend Me

Recommend Me

Please Support

Greenpeace

Subscribe to RSS

Bookmark this Site

Required

Get Quicktime Player
46
February 14, 2008
Discuss

Ruby Idioms Part 6

In this screencast you will learn about inject, splat operator and include? methods and how it is used in Ruby idioms.

Paul Morganthall says: Thanks for the screencasts. I just watched Ruby Idioms Part 4 about the splat operator. In the first example, the code looks something like this: fruits = ['apple', 'banana'] a, b = *fruits This works fine, you get the same results without the splat operator: a, b = fruits The splat operator in this case seems to obscure what's going on. I realize that the presence of the splat operator can change the behavior in many other cases ... but not this one.

Signup now to download the episode for free.

Recommend Me
Privacy Policy | Site Map
Copyright © 2007 - 2008, rubyplus.org