open fails with Encoding object
open("foo", encoding: Encoding::US_ASCII) が例外になります。
Updated by yugui (Yuki Sonoda) over 9 years ago
- Status changed from Assigned to Closed
This issue was solved with changeset r30555.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
merges r30349 from trunk into ruby_1_9_2.
- io.c (rb_io_extract_encoding_option): accept Encoding object as encoding: optional argument. [ruby-dev:42884] =end