--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to StringIO.new except that when it is called with a block, it yields with the new instance and closes it, and returns the result which returned from the block. full_name: StringIO::open is_singleton: true name: open params: " StringIO.open(string=\"\"[, mode]) {|strio| ...}\n" visibility: public