rubyists-

does it not make sense that this should work?

~ > irb -r stringio
irb(main):001:0> Marshal.dump 'foobar', StringIO.new
TypeError: instance of IO needed
        from (irb):1:in `dump'
        from (irb):1


-a
--
  ====================================
  | Ara Howard
  | NOAA Forecast Systems Laboratory
  | Information and Technology Services
  | Data Systems Group
  | R/FST 325 Broadway
  | Boulder, CO 80305-3328
  | Email: ara.t.howard / fsl.noaa.gov
  | Phone:  303-497-7238
  | Fax:    303-497-7259
  | ~ > ruby -e 'p % ^) .intern'
  ====================================