From: Michael Neumann Date: 2004-05-24T03:04:22+09:00 Subject: Re: [Q] Ruby for educational purposes and localization On Mon, May 24, 2004 at 02:24:58AM +0900, Claus Spitzer wrote: > But what will you do for external modules where they use the english > keywords as method names? e.g. I have a class that uses a 2D array of > custom objects, and I've implemented an 'each' method... the keyword > would be changed to, say "jeden", but my class would still expect > "each". I don't actually suggest to translate the keywords into german or any other language. It was just a test to see whether it works or not. But maybe for very very small scripts where you know all the libraries which are available in advance this makes sense. Imagine something like Logo, but actually using Ruby. To solve the each/jeden problem: module Enumerable def jeden(*args, &b) each(*args, &b) end end Regards, Michael