* test/csv/base.rb (TestCSV.with_diffrent_ofs): give name to
anonymous classes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9c017ca5fb
commit
eadc639598
@ -1,4 +1,7 @@
|
|||||||
Sat Dec 25 17:32:24 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sat Dec 25 17:33:55 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* test/csv/base.rb (TestCSV.with_diffrent_ofs): give name to
|
||||||
|
anonymous classes.
|
||||||
|
|
||||||
* lib/csv.rb (CSV#init_separators): use IO#gets with length
|
* lib/csv.rb (CSV#init_separators): use IO#gets with length
|
||||||
parameter to get rid of wrong convertion.
|
parameter to get rid of wrong convertion.
|
||||||
|
@ -15,6 +15,6 @@ class TestCSV < Test::Unit::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.with_diffrent_ofs
|
def self.with_diffrent_ofs
|
||||||
Class.new(self).class_eval {include DifferentOFS}
|
const_set(:DifferentOFS, Class.new(self).class_eval {include DifferentOFS}).name
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user