Skip to content

Commit

Permalink
RDoc correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Lord committed Jan 24, 2015
1 parent 291ff5e commit 4919d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/regexp-examples/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module RegexpExamples
# element from each array
#
# For example:
# permutations_of_strings [ ['a'], ['b'], ['c', 'd', 'e'] ] #=> ['acb', 'abd', 'abe']
# permutations_of_strings [ ['a'], ['b'], ['c', 'd', 'e'] ] #=> ['abc', 'abd', 'abe']
# permutations_of_strings [ ['a', 'b'], ['c', 'd'] ] #=> [ 'ac', 'ad', 'bc', 'bd' ]
def self.permutations_of_strings(arrays_of_strings)
first = arrays_of_strings.shift
Expand Down

0 comments on commit 4919d4d

Please sign in to comment.