Skip to content

Instantly share code, notes, and snippets.

@cnocon
Created May 16, 2013 15:25
Show Gist options
  • Save cnocon/5592543 to your computer and use it in GitHub Desktop.
Save cnocon/5592543 to your computer and use it in GitHub Desktop.
def length_finder(input_array)
input_array.map {|element| element.length}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment