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

instance level class access was removed, ask class for name instead of i... #187

Merged
merged 2 commits into from
Feb 26, 2014

Conversation

abrandoned
Copy link
Contributor

...nstance

@localshred

only place I could find this kind of prob in the message classs

@localshred
Copy link
Contributor

Good catch, I'll add a spec and then merge

…ot assigned

The spec existed to catch this issue, unfortunately it didn’t fail
because the message we were testing against had a field named “name”,
thus calling `self.name` in the raise string didn’t fail, it just
returns nil (since the name value wasn’t set).

The fix then is to create a message type with a required field named
something other than `name`.
localshred added a commit that referenced this pull request Feb 26, 2014
instance level class access was removed, ask class for name instead of i...
@localshred localshred merged commit 876010c into master Feb 26, 2014
@localshred localshred deleted the bdewitt/pb3_class branch February 26, 2014 23:32
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