Skip to content

Instantly share code, notes, and snippets.

@prathamesh-sonpatki
Created June 13, 2013 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prathamesh-sonpatki/5772446 to your computer and use it in GitHub Desktop.
Save prathamesh-sonpatki/5772446 to your computer and use it in GitHub Desktop.
a = ["Ruby", "Python", "Clojure"]
#=> ["Ruby", "Python", "Clojure"]
a.to_sentence
#=> "Ruby, Python, and Clojure"
@yatish27
Copy link

I didn't Know this .. looks cool

@prathamesh-sonpatki
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment