On Fri, May 16, 2003 at 08:43:25PM +0900, ts wrote: > >>>>> "B" == Brian Candler <B.Candler / pobox.com> writes: > > B> If it's a method then it can't have an initial capital, can it? > > svg% ruby -e 'p Integer(12)' > 12 Hmm. I thought I tried that and it didn't work. Ah, it doesn't work without an argument: irb(main):001:0> def Foo irb(main):002:1> puts "hello" irb(main):003:1> end => nil irb(main):004:0> Foo NameError: uninitialized constant Foo from (irb):4 but: irb(main):005:0> Foo() hello => nil irb(main):006:0> def Bar irb(main):007:1> yield irb(main):008:1> end => nil irb(main):009:0> Bar NameError: uninitialized constant Bar from (irb):9 irb(main):010:0> Bar { puts "hello" } hello => nil I'll have to file that in the "odd quirks" section of my brain. Regards, Brian.