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:
parent
8bb12bed08
commit
dc29af2a06
1 changed files with 7 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue