Archive for the 'Ruby' Category

Beauty in Ruby Syntax

21Dec06 Steven

Inheritance using
Additionally, the use of => in Ruby hashes is really nice. When I see something like:

redirect_to :action => "list"

I see an arrow pointing to list, which is where I want that to go. Even in a plain old hash definition the => works well by basically pointing from keys to values.

site […]


You are currently browsing the Code in Focus weblog archives for the 'Ruby' category.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.
 

Bad Behavior has blocked 20 access attempts in the last 7 days.