Skip to content

Conversation

@MichaelXavier
Copy link
Contributor

Instead of trying to instance eval the block in a way that operates at the instance, it seemed much cleaner and more like idiomatic OOP to have exposures try methods on the instance before trying them on the wrapped object. This is a pattern you'll find in Roar as well.

Resolves #28

CHANGELOG.md Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't kill this line.

@dblock
Copy link
Member

dblock commented Oct 15, 2013

There's a merge conflict, please merge from upstream. I'd also appreciate if you could please squash these commits into one.

@MichaelXavier
Copy link
Contributor Author

Whoops. My bad! Fixed the changelog, squashed into 1 commit, rebased from usptream/master and force pushed to my feature branch. Hopefully that was the correct process. Please let me know if there's any further issues that come up.

@dblock
Copy link
Member

dblock commented Oct 15, 2013

Love it, lets merge.

dblock added a commit that referenced this pull request Oct 15, 2013
Look for method on entity before calling on object
@dblock dblock merged commit e2f6dc8 into ruby-grape:master Oct 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants