[ruby-cvs:50966] jeg2:r43823 (trunk): * lib/csv.rb: If skip_lines is set to a String, convert it to a Regexp

jeg2 at ruby-lang.org jeg2 at ruby-lang.org
Sun Nov 24 08:12:12 JST 2013


jeg2	2013-11-24 08:12:11 +0900 (Sun, 24 Nov 2013)

  New Revision: 43823

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43823

  Log:
    * lib/csv.rb: If skip_lines is set to a String, convert it to a Regexp
      to prevent the alternative, which is that each line in the CSV gets
      converted to a Regexp when calling skip_lines#match.

  Modified files:
    trunk/ChangeLog
    trunk/lib/csv.rb
    trunk/test/csv/test_features.rb


More information about the ruby-cvs mailing list