About ruby's free floating methods

Viewed 84

In ruby, free floating methods are attached to Object, does that mean all Classes have those methods since they all inherit from Object?

Or do they have some kind of exemption?

EDIT: for clarification, I mean methods as defined by the coder like:

def some_method
   code...
end
1 Answers
Related