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

Allow string identifiers #4

Merged
merged 1 commit into from
Mar 31, 2018
Merged

Allow string identifiers #4

merged 1 commit into from
Mar 31, 2018

Conversation

denisdefreyne
Copy link
Owner

@denisdefreyne denisdefreyne commented Mar 31, 2018

This removes the need for #to_sym whenever a symbol is passed in.

Before:

DataSource.named(ENV.fetch('DATA_SOURCE_TYPE').to_sym)

After:

DataSource.named(ENV.fetch('DATA_SOURCE_TYPE'))

@denisdefreyne denisdefreyne merged commit 5a94e60 into master Mar 31, 2018
@denisdefreyne denisdefreyne deleted the string-identifiers branch March 31, 2018 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant