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/.