Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Ruby Speaks (See related posts)

// if you are using a mac this will allow your Ruby script to speak using the macs native text to speech functionality.

system "osascript -e 'say \"the rain in Spain falls mainly on the planes\"'"

You need to create an account or log in to post comments to this site.


Click here to browse all 5141 code snippets

Related Posts