The ActiveFunctions filter provides functionality inspired by Rails’ ActiveSupport. It works in conjunction with the tiny NPM dependency
@ruby2js/active-functions which must be added to your application.
Note: these conversions are only done if
eslevel >= 2015. Import statements
will be added to the top of the code output automatically. By default they
@ruby2js/active-functions, but you can pass an
import_from_skypack: true option to
convert to use the Skypack CDN instead.