Let's assume your customers requirements are 25 PPM. That means that you would be allowed 25 pieces for every 1,000,000 pieces or 250 defective parts per year. Or to put it another way, one bad part per day! Notice I did not say one bad part per day per person or job, or shift or machine.
The dynamic inheritance allows you to follow open-closed principle by extending classes without modifying existing classes and allows you to choose features that you need at runtime. Of course, dynamic languages such as Ruby make this a lot easier as you can extend classes or objects with modules at runtime, e.g.
Inheritance is the ability to use the data and methods of one kind of object by another as if they were defined in the other object to begin with. Polymorphism means that an object that inherits appears to be both kinds of object, the kind of object it is itself and the kind of object from which it inherits.ncapsulation in this sense means that a programmer can bundle data and methods into a single entity. We've seen that a Scam function can have local variables and local functions.