Slowly.... I believe #each_slice was added later as well. Oh well.
Can't you just upgrade your Ruby version? That seems a much better
option than trying to retrofit all the new behavior on the old
version.
Kind regards
robert
···
2010/2/12 John Ydil <john.gendrot@cnsi.fr>:
Thanks again Robert but (there is always a BUT)....
I copy paste the code you gave me
File\.to\_enum\(:foreach, "/etc/raddb/users"\)\.each\_slice 4 do
Slowly.... I believe #each_slice was added later as well. Oh well.
Can't you just upgrade your Ruby version? That seems a much better
option than trying to retrofit all the new behavior on the old
version.
Slowly.... I believe #each_slice was added later as well. Oh well.
Can't you just upgrade your Ruby version? That seems a much better
option than trying to retrofit all the new behavior on the old
version.
Kind regards
robert
I'll try to upgrade.
Unfortunately, the provider doesn't have a newer version of ruby :s
Slowly.... I believe #each_slice was added later as well. Oh well.
Can't you just upgrade your Ruby version? That seems a much better
option than trying to retrofit all the new behavior on the old
version.
Kind regards
robert
I'll try to upgrade.
Unfortunately, the provider doesn't have a newer version of ruby :s