G
Gavin Sinclair
Folks,
I understand there are 4 kinds of things you can't marshal: singleton
methods, IO objects, bindings, and ... and ... someone will fill in.
Why then, can't you marshal MatchData objects? To wit:
irb(main):108:0> Marshal.dump(ms[63]).size
TypeError: can't dump MatchData
from (irb):108:in `dump'
from (irb):108
from ?:0
[ms is an array of MatchData objects]
I don't think MatchData is the fourth item in the incomplete list above.
Gavin
I understand there are 4 kinds of things you can't marshal: singleton
methods, IO objects, bindings, and ... and ... someone will fill in.
Why then, can't you marshal MatchData objects? To wit:
irb(main):108:0> Marshal.dump(ms[63]).size
TypeError: can't dump MatchData
from (irb):108:in `dump'
from (irb):108
from ?:0
[ms is an array of MatchData objects]
I don't think MatchData is the fourth item in the incomplete list above.
Gavin