Skip to content

kbaldauf/ReverseWords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReverseWords

This gem takes a string containing one or more sentences and returns a string with the words in each sentence in reverse order.

Getting Started

Install the gem.

gem install reverse_words

Usage

Give it a string containing one or more sentences via the command line.

reverse_words "Welcome to GitHub. This is my Ruby gem."