#396: open method from open-uri not working in macruby 0.5 ------------------------------+--------------------------------------------- Reporter: dml...@… | Owner: lsansone...@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: open-uri, openuri ------------------------------+---------------------------------------------
Comment(by lsansone...@…): Looks like open-uri.rb is unable to replace Kernel#open, I suspect a bug of #module_function. In the interim, calling the open-uri stuff manually seems to work. {{{ $ macruby -r open-uri -e "p URI.parse('http://google.com').open.read(42)" "<!doctype html><html><head><meta http-equi" }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/396#comment:1> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel