Skip to content
Poignant Guide Ruby Q&A
Sections

include

1 thread tagged with this topic

Threads tagged include

  1. ✓

    What is the difference between a class and a module in Ruby?

    A class is a blueprint you can make objects from with new, and it can inherit from one parent class. A module is a bundle of methods and constants that you...

    Classes, modules and objectsOdile MarchettiStaff answer
    0replies
Poignant Guide Ruby Q&A. Questions and answers on learning Ruby and programming: syntax, blocks, objects, gems, Rails, debugging and reading the Poignant Guide.