Search

Home > Rubyology > ScreenCast 5: Web 2.0 Names
Podcast: Rubyology
Episode:

ScreenCast 5: Web 2.0 Names

Category: Technology
Duration:
Publish Date: 2007-03-28 17:44:00
Description: This Rubyology screencast will focus on the Ruby random function and should serve as a refresher on arrays and hashes as well as looping. The source code to our example is provided below: # Rubyology Screencast - Web 2.0 Name Randomizer 10.times do letters = { ?v => 'aeiou', ?c => 'bcdfghjklmnpqrstvwxyz'} word = '' 'cvcvc'.each_byte do |x| source = letters[x] word
Total Play: 0