Registry / utility / opal-zeitwerk

opal-zeitwerk

JSON →
library0.4.6rbrubygemsunverified

Opal Zeitwerk is a port of the Zeitwerk autoloader to Opal, enabling constant autoloading with Ruby semantics in the browser.

gem install opal-zeitwerk
INSTALL
IMPORT
SIG · OPAL-ZEITWERK
O
opal-zeitwerk
utilityrubyv0.4.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OpalZeitwerk
require 'opal-zeitwerk'

Set up an autoloader for a directory in an Opal application.

require 'opal-zeitwerk' loader = OpalZeitwerk::Loader.new loader.push_dir('app') loader.setup # Constants in 'app' are now autoloaded
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.6latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
opal-zeitwerk — gem install opal-zeitwerk · libregistry