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
merged 1 commit into from Nov 14, 2015
Merged

Add Identifier#components #677

merged 1 commit into from Nov 14, 2015

Conversation

@ddfreyne
Copy link
Member

@ddfreyne ddfreyne 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.

@ddfreyne
Copy link
Member Author

@ddfreyne ddfreyne commented Aug 18, 2015

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

Loading

@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 added a commit that referenced this issue Nov 14, 2015
@ddfreyne ddfreyne merged commit 643f78b into master Nov 14, 2015
1 check was pending
Loading
@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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant