Closed valo closed 11 years ago
This reduce implementation is not compatible with the original reduce signature in ruby 1.8.7
def reduce(fn, res) each { |n| res = res.send(fn, n) } res end
Pull request #6 fix this. Also note that the gem name is chardet2 (check the updated readme)
This reduce implementation is not compatible with the original reduce signature in ruby 1.8.7