You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 17, 2022. It is now read-only.
Interesting - could you elaborate on the use case a little bit more, specifically how this would be different from instantiating classes in your gem with parameters? e.g. :
I could definitely do what you said, and simply pass the configuration in on MyGem initialization, but I was thinking it would be cool to have the same facilities and interface you created for the class-level configuration. One clear advantage is that it would be possible to take advantage of the restricted configuration options, for example.
I think it would be great to have instance specific configuration that takes precedence over the class-level configuration.
Example:
Does this make sense? I find it useful when multiple configurations are needed or even for testing purposes.
The text was updated successfully, but these errors were encountered: