Install ruby-metaclass by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-metaclass
Description:
Ruby library adding a metaclass method to all Ruby objects
This simple Ruby library provides for every Ruby object a method called "__metaclass__", returning a class attached the object, which offers possibilities of metaprogramming, like adding specific methods to the object.
Homepage: http://github.com/floehopper/metaclass
Version: 0.0.4-1
Section: universe/ruby