diff --git a/published/2007.05.10-enumerable-pluck-and-string-to_proc-for-ruby.md b/published/2007.05.10-enumerable-pluck-and-string-to_proc-for-ruby.md index d522b97..2de0199 100644 --- a/published/2007.05.10-enumerable-pluck-and-string-to_proc-for-ruby.md +++ b/published/2007.05.10-enumerable-pluck-and-string-to_proc-for-ruby.md @@ -24,7 +24,7 @@ First you need end -Next we define String#to_proc, which is nearly identical to the Array#to_proc method I previously wrote about. +Next we define String#to_proc, which is nearly identical to the Array#to_proc method I previously wrote about.
String#to_proc
class String
   # Turns a string into a proc.