summaryrefslogtreecommitdiff
path: root/test/csv/base.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-25 08:33:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-25 08:33:58 +0000
commiteadc639598670c1ae04bbd2f73250eef1b1463a8 (patch)
treed73477c3b45bd76ed6c146dfb821d7977597b948 /test/csv/base.rb
parent9c017ca5fb24e89463e5aee0304bd6a2305143df (diff)
* 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
Diffstat (limited to 'test/csv/base.rb')
-rw-r--r--test/csv/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/csv/base.rb b/test/csv/base.rb
index c0f5bd990b..1f83bab4a9 100644
--- a/test/csv/base.rb
+++ b/test/csv/base.rb
@@ -15,6 +15,6 @@ class TestCSV < Test::Unit::TestCase
end
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