Sha256: e617bfe1a7a3ded4968e64d6208762f3a8b0e8ed456fd25bb02faf0445d7368a
Contents?: true
Size: 302 Bytes
Versions: 7
Compression:
Stored size: 302 Bytes
Contents
require File.expand_path('../fixtures/classes', __FILE__) describe "StringIO#closed_write?" do it "returns true if self is not writable" do io = StringIO.new("example", "r+") io.close_read io.closed_write?.should be_false io.close_write io.closed_write?.should be_true end end
Version data entries
7 entries across 7 versions & 1 rubygems