From: Mike Stephens Date: 2009-11-17T20:11:41+09:00 Subject: Class inside a Method Body I have a class that works fine if I declare it outside of anything. If however I put the code inside a method, Ruby seems to object with a message "class definition in method body". Can you suggest why Ruby has this constraint? -- Posted via http://www.ruby-forum.com/.