Hello,

2011/5/30 Shota Fukumori <sorah / tubusu.net>:
> My Implementation has been completed File.write, binwrite.

Good work.

But File.binwrite does not accept an optional hash while write does.

  $ rm -f /tmp/x && ./ruby -e 'File.write("/tmp/x", "foo", perm: 0700)'
  "foo"

  $ rm -f /tmp/x && ./ruby -e 'File.binwrite("/tmp/x", "foo", perm: 0700)'
  -e:1:in `binwrite': can't convert Hash into Integer (TypeError)
          from -e:1:in `<main>'

-- 
Yusuke Endoh <mame / tsg.ne.jp>