Skip to content

Conversation

@gabrielescamilla
Copy link

@gwadej @jaybobo @mikegee does this need a rev?

gem_city_spec.rb Outdated
Copy link
Member

Choose a reason for hiding this comment

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

I'm surprised Rubocop didn't make you put spaces around this =.

gem_city.rb Outdated
Copy link
Author

Choose a reason for hiding this comment

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

@mikegee @gwadej @jaybobo I did not change this to the default setter. I'm not supposed to do so right? I will need to change the call in the spec as well.

Copy link

Choose a reason for hiding this comment

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

Once you use the attr_accessor form, this doesn't do anything new. (It also does two different things, so is probably a bad method.

I would change the test to use theives= so that the attribute handling is consistent.

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.

3 participants