Skip to content

Instantly share code, notes, and snippets.

@dannysmith
Created November 14, 2018 01:05
Show Gist options
  • Save dannysmith/8fb237851792ac294a05dab5750a8bbd to your computer and use it in GitHub Desktop.
Save dannysmith/8fb237851792ac294a05dab5750a8bbd to your computer and use it in GitHub Desktop.
def reverse_alternate(string)
#your code here
end
reverse_alternate('one two three four') #=> 'one owt three ruof'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment