Hello all,

   So I was going through the Ruby array documentation and came  
across Array. abbrev(pattern = nil). However, every time I run the  
example code in irb I get the following:

rb(main):001:0> %w{ car cone }.abbrev
NoMethodError: undefined method `abbrev' for ["car", "cone"]:Array
         from (irb):1
irb(main):002:0>


What am I doing wrong? Do I need to include a module? If so, how?

Thank you,
Gautam