eigenclass

noun

eigenclass

noun

Etymology From eigen- + class.

1

A hidden class associated with each specific instance of another class.

Object-oriented programming

  • Singleton methods in Ruby live in a special, hidden class called the singleton class (it used to be referred to as the eigenclass, but singleton class is the current term).

Entry derived from the Wiktionary, under licence CC BY-SA 4.0 — list of authors.