The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Making Prototype 1.6's Hash even more Ruby-like

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Duncan Beevers

Posts: 68
Nickname: dbeevers
Registered: May, 2008

Duncan Beevers is a hack and jester building shiny baubles from bytes and tears.
Making Prototype 1.6's Hash even more Ruby-like Posted: Jan 28, 2009 7:41 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Duncan Beevers.
Original Post: Making Prototype 1.6's Hash even more Ruby-like
Feed Title: dweebd
Feed URL: http://www.dweebd.com/feed/
Feed Description: Ruby ejecta from the leading edge
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Duncan Beevers
Latest Posts From dweebd

Advertisement
I really like Ruby, and I really like how the Prototype library makes javascript more Ruby-like. Ruby’s Hash provides a number of convenient methods that Prototype doesn’t ship with. Here is a small extension that borrows a little from Ruby. Hash.prototype = Object.extend(Hash.prototype, { hasKey: function(key) { return this._object.hasOwnProperty(key); [...]

Read: Making Prototype 1.6's Hash even more Ruby-like

Topic: RubyGems code_swarm Previous Topic   Next Topic Topic: Adobe Flex Visual Designer - Amethyst Professional Preview

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use