Skip to content

Commit

Permalink
Update README and bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
boone committed Aug 8, 2015
1 parent f368a0e commit 192764a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Wordplay

Some interesting methods to use on words. Currently can match words with their
letters in alphabetical or reverse alphabetical order.
Some interesting methods to use on words.

The idea came from a story about a boy, who, when asked to put words in
alphabetical order, ordered the letters of the word instead of the words
Expand All @@ -22,6 +21,17 @@ word.reverse_ordered_letters # zzpia
There is also an example which loops through `/usr/share/dict/words` to find
words with their letters sorted. I think my favorite is "bijoux".

## New in Version 0.0.2

Match palindromes!

```ruby
require "wordplay"

words = Wordplay.new("Do geese see God?") # ignores spaces and punctuation
words.palindrome? # true
```

# Contributing

If you have an interesting word method or a bugfix, please submit a pull
Expand Down
2 changes: 1 addition & 1 deletion lib/wordplay/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
class Wordplay
VERSION = "0.0.1"
VERSION = "0.0.2"
end

0 comments on commit 192764a

Please sign in to comment.