Just a heads up for whoever is responsible for maintaining the API
documentation. String#interpolate <http://prototypejs.org/api/string/
interpolate> has the following Example:
"#{animals} on a #{transport}".interpolate(["Pigs", "Surfboard"]); //-
> "Pigs on a Surfboard"

Unfortunately, this isn't the correct syntax. It should be:
"#{animals} on a #{transport}".interpolate({animals:"Pigs",
transport:"Surfboard"}); //-> "Pigs on a Surfboard"


Great work with 1.6.0 guys, keep it up.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to