Sha256: b86fa409e94c97346e6598c242b1ff916a2f8ed5a877416fa8a2e8a59b81b523
Contents?: true
Size: 307 Bytes
Versions: 57
Compression:
Stored size: 307 Bytes
Contents
require 'epitools' describe TypedStruct do it "works" do t = TypedStruct["a:int b c:boolean d:timestamp"].new t.a.should == nil t.a = "111"; t.a.should == 111 t.b = "111"; t.b.should == "111" t.c = "yes"; t.c.should == true #t.c?.should == true end end
Version data entries
57 entries across 57 versions & 1 rubygems