# File lib/Getopt/DelimScanner.rb, line 109 def self.def_casting_delegators( *methods ) methods.each {|methodName| class_eval( "def \#{methodName}( pattern )\npattern = pattern.to_s.to_re unless pattern.is_a?( Regexp )\n@scanner.\#{methodName}( pattern )\nend\n", "(--def_casting_delegators--)", 1 ) } end