@josevalim the same binding

@robin850 I've tested this with 1.9.3 also (https://gist.github.com/akalyaev/5555294)