Skip to content

Instantly share code, notes, and snippets.

@scolon7251
Created March 20, 2014 00:00
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 scolon7251/9654360 to your computer and use it in GitHub Desktop.
Save scolon7251/9654360 to your computer and use it in GitHub Desktop.
Load Error
require 'string_extensions'
puts "This is a test".vowels.join('-')
class String
def vowels
self.scan(/[aeiou]/i)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment