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