1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* sync to lib/csv/tests/csv_ut.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nahi 2003-09-05 17:36:32 +00:00
parent 8bb12bed08
commit dc29af2a06

View file

@ -1139,10 +1139,8 @@ public
end
def setBufSize(size)
CSV::StreamBuf.module_eval do
remove_const(:BufSize)
const_set(:BufSize, size)
end
CSV::StreamBuf.module_eval('remove_const("BufSize")')
CSV::StreamBuf.module_eval("BufSize = #{ size }")
end
class StrBuf < CSV::StreamBuf