Programmers familiar with the classic model of inheritance are often confused by JavaScript’s prototypal inheritance when they first encounter it. To help illustrate the differences in the two models, I’ll implement what might appear to be the same thing in both Ruby and JavaScript.