From: Fily Salas Date: 2011-11-11T03:50:59+09:00 Subject: Re: Navigating through the official Ruby documentation Double WOW! for you two guys. I'm always impress about the help I get here. Very good information, it basically answers all of my questions. One thing I see here is that I don't fully understand the big difference between Classes and Modules in Ruby but you even read my mind and added a link. >http://samwho.co.uk/blog/2011/09/12/ruby-mixins/ I was thinking that Modules were just a form of separating classes (Name Scopes for classes). The only language I know a little bit is Actionscript 3.0 and it uses Packages to enclose classes but apparently in Ruby Modules do this and more. Thanks a lot Sam Rose -------------------------------- >@Marvin Gülker >No. Classes in Ruby are basically modules with the specific ability to >create instances of themselves (via the ::new method). As I mentioned above I need to have a better understanding about modules and classes. >For example, arrays have a method #max, but you won’t find >this in the documentation of the Array class. It comes from the Enumerable module. The problem I see with this (if you want to call it a problem) is that for novice like me, there is no way to know what methods have been inherited from the module or other classes since they are not listed here, I could open the module or the class itself, but how do you know what methods have been inherited to other classes. I asked for one thing and I always end up learning other things, awesome. YOU GUYS ARE AWESOME! I LOVE THIS FORUM -- Posted via http://www.ruby-forum.com/.