Sha256: b516a671574345f46e26c6d1a43fb7bb6cce29a117232803987c07e805c8bd22
Contents?: true
Size: 254 Bytes
Versions: 24
Compression:
Stored size: 254 Bytes
Contents
describe "String#%" do it "returns formatted string as same as Kernel#format" do ("%-5d" % 123).should == "123 " end it "can accept multiple arguments by passing them in an array" do ("%d %s" % [456, "foo"]).should == "456 foo" end end
Version data entries
24 entries across 24 versions & 1 rubygems