Object2module: Converting Ruby Objects to Modules

If Modules have one property that Classes envy it would be their ability for dynamic inclusion in an inheritance chain. Using Object2module, however, we can gift our Classes (and Objects) with identical functionality.
How to use:

require ‘object2module’

class MyClass
    def hello_world
        puts "hello world!"
    end
end

o = Object.new
o.extend MyClass.to_module
o.hello_world    #=> "hello world!"

Since including and extending ‘modulified’ Objects is [...]