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 last for vector #519

Merged
merged 1 commit into from
May 30, 2020
Merged

Add last for vector #519

merged 1 commit into from
May 30, 2020

Conversation

kojix2
Copy link
Member

@kojix2 kojix2 commented Aug 28, 2019

@@ -453,6 +453,11 @@ def tail q=10
self[start..(size-1)]
end

def last q=1
# The Enumerable mixin dose not provide the last method.

Choose a reason for hiding this comment

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

comment typo does

@v0dro v0dro merged commit 27c3d88 into SciRuby:master May 30, 2020
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