Using external ruby modules in rails

To extend a module in Rails, you purely just call it again.

Lets say you have "module MyModule", then just write "module MyModel"
in the file which you extend from.

If it's an already built class and you want to override module
MyModule; class SubClass… Make sure you include the SubClass or it
won't be overridden.

There should be decent documentation on how to do it on the gem's
website or atleast elsewhere. Check that out.

Zach Inglis
→ Blog — http://www.zachinglis.com
→ Company — http://www.lt3media.com
→ Portfolio — http://portfolio.zachinglis.com