From: 7stud -- Date: 2011-04-09T04:41:17+09:00 Subject: Re: Calling to_enum on a MatchData object By the way, one way to get a handle on which instance methods a class defines itself and which are inherited is like this: not_inherited = false puts MatchData.instance_methods(not_inherited).sort #'false' means don't display inherited methods --output:-- == [] begin captures end eql? hash inspect length names offset post_match pre_match regexp size string to_a to_s values_at Then to find to_enum() you need to look in parent classes and any modules that MatchData includes. -- Posted via http://www.ruby-forum.com/.