Sha256: 9efd7e18eb8cfcd0bfeb82ceeadce38ef6195d2d9f7223d6305345dd85fae0e6
Contents?: true
Size: 259 Bytes
Versions: 1
Compression:
Stored size: 259 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "Then" do it "success" do res = [] [1,2,3,3].then{ |list| res << list.length }.uniq.then{ |list| res << list.length } res.should == [4, 3] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
then-1.0.0 | spec/then_spec.rb |