#363: IO.copy_stream dont handle copyfile.
--------------------------------+-------------------------------------------
Reporter: kazuh...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: minor | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
--------------------------------+-------------------------------------------
I try to run folloing script.
{{{
src = open("a")
dst = open("b","w+")
IO.copy_stream(src,dst)
src.close
dst.close
}}}
I expected to run via copyfile function . but not.
because src/dst object is indicated as not T_FILE by rb_type.(T_NATIVE)
--
Ticket URL: <http://www.macruby.org/trac/ticket/363>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel