Lazily calls String#downcase on each word in the wordlist.
String#downcase
wordlist = Wordlist::Words["Foo", "BAR", "bAz"] wordlist.downcase.each do |word| puts word end # foo # bar # baz
Returns:
The lazy String#gsub modification of the wordlist.
String#gsub
Since:
1.0.0
377 378 379
# File 'lib/wordlist/list_methods.rb', line 377 def downcase Modifiers::Downcase.new(self) end