Permalink
Browse files

20 != 70

  • Loading branch information...
1 parent 561c9e2 commit caf24b46f93faad5961ed9c270e002c3fb432387 @sgonyea committed Mar 3, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -16,14 +16,14 @@ Stubber is a simple gem that lets you stub strings, using "words" as the unit of
str.stub_words(5, true)
# => ", consectetuer adipiscing elit. Vivamus vitae"
- # Grab the _complete_ words, appearing _up to_ position 20
+ # Grab the _complete_ words, appearing _up to_ position 70
str.stub_to(70)
# => "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus "
str.stub_to(70).size
# => 66
- # Grab the _complete_ words, appearing _through_ position 20
+ # Grab the _complete_ words, appearing _through_ position 70
str.stub_thru(70)
# => "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus vitae"

0 comments on commit caf24b4

Please sign in to comment.