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

Add Identifier#components #677

merged 1 commit into from Nov 14, 2015


None yet
1 participant
Copy link

commented Jul 11, 2015

This provides a slightly nicer-to-use alternative to identifier.to_s.split.

The return value is such that '/' + identifier.components.join('/') is identical to identifier.to_s.

See #674.


This comment has been minimized.

Copy link
Member Author

commented Aug 18, 2015

Still unsure whether the components of / should be an empty list, or a list with an empty string.

@ddfreyne ddfreyne force-pushed the identifier-components branch from bfbd7ad to 107a115 Nov 8, 2015

@ddfreyne ddfreyne force-pushed the identifier-components branch from 107a115 to 9fc78a8 Nov 14, 2015

@ddfreyne ddfreyne added to review and removed status:wip 🔧 labels Nov 14, 2015

ddfreyne added a commit that referenced this pull request Nov 14, 2015

@ddfreyne ddfreyne merged commit 643f78b into master Nov 14, 2015

1 check was pending

continuous-integration/travis-ci/pr The Travis CI build is in progress

@ddfreyne ddfreyne deleted the identifier-components branch Nov 14, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.