From: Eric Hodel Date: 2006-04-12T02:29:45+09:00 Subject: Re: Include....with an end? On Apr 10, 2006, at 9:26 PM, Gennady Bystritsky wrote: >> [mailto:list-bounce@example.com] On Behalf Of Bihal >> >> Hey guys, ran into some weird code that seems to have an >> "end" for an "include" >> >> module Fox >> module FTNonModal >> include Responder >> #a bunch of code, comments and methods I removed >> end >> end >> end >> >> If you need the rest of the code just ask, but I guess I'm >> missing something? > > Have you tried to ask Ruby to run it? I bet it will ask, in a very > wague > form, for the rest of the code immediately ;-) No, it says you have given too much code. $ ruby module Fox module FTNonModal include Responder #a bunch of code, comments and methods I removed end end end -:7: parse error, expecting `$' -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com