Insert into Ruby Array

The following piece of code insert to each hash in the array a new element. I used destructive hash merge to add the new element to each hash in the array.


These icons link to social bookmarking sites where readers can share and discover new web pages.

  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • blinkbits
  • BlinkList

3 Comments »

  1. Satish Talim said,

    May 8, 2007 @ 4:50 am

    Thank you for your comment on my blog. I’d appreciate if you would tell me which Wordpress plugin you are using for Ruby code.

  2. admin said,

    May 8, 2007 @ 7:42 am

    You are welcome satish. You have nice ruby blog!
    I am using this:
    http://erik.range-it.de/wordpress/plugins/syntaxhighlighter/

    Regards,
    Ruby on rails example!

  3. MalkEvange said,

    August 6, 2007 @ 12:50 pm

    Interesting article!
    Where can I find more on this theme?

RSS feed for comments on this post · TrackBack URI

Leave a Comment