From: Yukihiro Matsumoto Date: 2011-11-28T19:04:21+09:00 Subject: [ruby-core:41356] Re: [ruby-trunk - Feature #5678][Closed] StringIO#to_str Hi, In message "Re: [ruby-core:41354] [ruby-trunk - Feature #5678][Closed] StringIO#to_str" on Mon, 28 Nov 2011 18:50:12 +0900, Martin Bosslet writes: |OK, thank you for clarifying this! I will use StringIO#string then. At the same time, having ASN1.decode to treat T_FILE but not StringIO is against duck typing. I think it is better if we can do something. But I don't have a good idea yet. #to_io does not work here. #to_str is not appropriate. matz.