Skip to content

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