* 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:
parent
8bb12bed08
commit
dc29af2a06
@ -1139,10 +1139,8 @@ public
|
|||||||
end
|
end
|
||||||
|
|
||||||
def setBufSize(size)
|
def setBufSize(size)
|
||||||
CSV::StreamBuf.module_eval do
|
CSV::StreamBuf.module_eval('remove_const("BufSize")')
|
||||||
remove_const(:BufSize)
|
CSV::StreamBuf.module_eval("BufSize = #{ size }")
|
||||||
const_set(:BufSize, size)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class StrBuf < CSV::StreamBuf
|
class StrBuf < CSV::StreamBuf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user