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

Useful #to_s method #105

Merged
merged 1 commit into from
Oct 18, 2013
Merged

Useful #to_s method #105

merged 1 commit into from
Oct 18, 2013

Conversation

lorddoig
Copy link
Contributor

Because "United Kingdom" is more useful than "#<Country:0x007f8e138a2a48>".

Duplicated across classes because it's a monkey patch on Kernel and I thought a module or delegation was a bit overkill.

hexorx added a commit that referenced this pull request Oct 18, 2013
@hexorx hexorx merged commit ae27f58 into countries:master Oct 18, 2013
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