Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove automagic Yacht constant #21

Open
bowsersenior opened this issue Jan 20, 2012 · 0 comments
Open

Remove automagic Yacht constant #21

bowsersenior opened this issue Jan 20, 2012 · 0 comments
Assignees

Comments

@bowsersenior
Copy link
Contributor

Accessing keys with Yacht.my_key is nifty, but it has some issues:

  1. Changing the name of the constant is not possible
  2. The code to do this is a bit too magic
  3. It is very easy to manually set a constant with MY_CONFIGS = Yacht::Loader.to_hash
@ghost ghost assigned bowsersenior Jan 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant