Skip to content

Commit

Permalink
rename strings to words
Browse files Browse the repository at this point in the history
  • Loading branch information
kerryb committed Jul 15, 2009
1 parent 4c69e84 commit e6cba04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

module StringExtensions
def phrases(number)
strings = split
all_strings = single_double_triple_words(strings)
words = split
all_strings = single_double_triple_words(words)
all_strings[0, number].map {|s| "'#{s}'"}.join(', ')
end

Expand Down

0 comments on commit e6cba04

Please sign in to comment.