Created
March 20, 2014 00:00
-
-
Save scolon7251/9654360 to your computer and use it in GitHub Desktop.
Load Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'string_extensions' | |
puts "This is a test".vowels.join('-') | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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