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 <Martin.Bosslet / googlemail.com> 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.