Install ruby-memoist by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-memoist
Description:
Ruby library providing method memoization
The memoist library provides methods memoization. Memoization cached objects can be looked up faster. . This is an extraction of Ruby on Rails' ActiveSupport::Memoizable library. Ruby on Rails' ActiveSupport::Memoizable has been already deprecated, but it is still useful.
Homepage: https://github.com/matthewrudy/memoist
Version: 0.16.0-1
Section: universe/ruby