Koren Leslie Cohen

  • About
  • Blog
  • Contact

0 comments

Ruby / Rails

Mixin Ruby Modules

May 30, 2014 by Koren Leslie Cohen

preloader

Modules are collections of methods and constants. Practically, they’re like a toolbox full of neat tools and supplies. If you wanted to build a house, you might use one set of tools and supplies, whereas building electronics may require another set of tools and supplies. Modules are a way to organize your tools and supplies into useful receptacles.

0 comments

Ruby / Rails

Ruby Classes

May 28, 2014 by Koren Leslie Cohen

rails

Classes are useful to help organize objects with similar attributes and methods. Instead of defining multiple objects with similar attributes, we can instead define a single class and create instances of that class.

  • GitHub
  • Instagram
  • LinkedIn
  • RSS
  • Twitter

Looking for something?

Copyright 2026 Koren Leslie Cohen