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

Fixes boolean declaration in an external helper file. #1153

Merged
merged 1 commit into from
Sep 14, 2015
Merged

Fixes boolean declaration in an external helper file. #1153

merged 1 commit into from
Sep 14, 2015

Conversation

towanda
Copy link
Contributor

@towanda towanda commented Sep 13, 2015

See #1144.

@dblock
Copy link
Member

dblock commented Sep 13, 2015

Do you think you can write a test for this?

@dblock
Copy link
Member

dblock commented Sep 13, 2015

I also wonder if we need to check whether Boolean is already defined here. I would move the const_set into a function, just to make it cleaner, ala inject_api_helpers_to_mod and check.

@towanda
Copy link
Contributor Author

towanda commented Sep 13, 2015

@dblock added spec and now checks if it's defined in a separate function.

@dblock
Copy link
Member

dblock commented Sep 14, 2015

Great, merging.

dblock added a commit that referenced this pull request Sep 14, 2015
Fixes boolean declaration in an external helper file.
@dblock dblock merged commit 69f6ccb into ruby-grape:master Sep 14, 2015
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.

2 participants