Sha256: ffcf079831a8be854bd43622ad820d4166c85c8b12216877ab14b6fa96713881
Contents?: true
Size: 371 Bytes
Versions: 83
Compression:
Stored size: 371 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' describe "String.allocate" do it "returns an instance of String" do str = String.allocate str.should be_kind_of(String) end it "returns a fully-formed String" do str = String.allocate str.size.should == 0 str << "more" str.should == "more" end end
Version data entries
83 entries across 83 versions & 1 rubygems