I recently discovered that you can detect if a class/module includes another class/module. For example Array is Enumerable so you can do
Array < Enumerable # true
String however is not enumerable
String < Enumerable #nil
What exactly is happening here? How does this syntax work in ruby?