From: botp Date: 2012-07-03T10:06:35+09:00 Subject: Re: ruby_rhymes question On Tue, Jul 3, 2012 at 12:54 AM, Amiee Monticello wrote: > Well, I've only tried writing some basic ruby code, not using any of the > gem packages (still learning how to use them). I'll read up some more, try eg, [2] pry(main)> require 'ruby_rhymes' => true [3] pry(main)> "ruby".flat_rhymes NoMethodError: undefined method `flat_rhymes' for "ruby":String from (pry):3:in `
' [4] pry(main)> "ruby".to_phrase.flat_rhymes => ["booby", "dubhi", "duby", "hruby", "kuby", "looby", "luby", "newby", "rubey", "rubi", "rubie", "trubey", "truby"] [5] pry(main)> .lsb_release -a LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch Distributor ID: Ubuntu Description: Ubuntu 10.04.4 LTS Release: 10.04 Codename: lucid [6] pry(main)> .ruby -v ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux] kind regards -botp