Skip to content

Conversation

@ericnoble
Copy link

@ericnoble ericnoble commented Mar 16, 2018

…e and shortest_string functions.

Please review @jaybobo.

#Put your code here!

if array.any?
array.sort_by{|s| s.length}[0]
Copy link
Member

@jaybobo jaybobo Mar 16, 2018

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

Even better. Thx.

Copy link
Member

@jaybobo jaybobo left a comment

Choose a reason for hiding this comment

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

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