mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue