Skip to content

Remove automagic Yacht constant #21

@bowsersenior

Description

@bowsersenior

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions