Re: Uses for monkeypatching package.loaded
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Uses for monkeypatching package.loaded
- From: Sean Conner <sean@...>
- Date: 2014年11月25日 13:58:14 -0500
It was thus said that the Great Thiago L. once stated:
> So I noticed I can monkeypatch package.loaded with a metatable. What's
> this useful for?
It's a regular table, and you can always add a metatable to a table?
-spc (The same way you can add a metatable to _G ... )