From: Tom Allison Date: 2006-01-16T23:50:05+09:00 Subject: Re: basic question about Fixnum & Integer Jules wrote: > No, you don't have to require integer, because it is in the core. The > core is always available. You can read the docs here: > > http://www.ruby-doc.org/core/ > > And there is a standard library too: > > http://www.ruby-doc.org/stdlib/ > > Most of these are not available by default. If you want to use a YAML > parser, you have to require YAML. > Thanks for the references. For some reason I can't get my installation of Ruby to do what the examples show: 6.lcm 7 return >> 6.lcm 7 NoMethodError: undefined method `lcm' for 6:Fixnum from (irb):17 from :0 >> 6.lcm(7) NoMethodError: undefined method `lcm' for 6:Fixnum from (irb):18 from :0 This is too simple to get wrong?