Sha256: 6c9dcf04343d190b8e509ecc101395dba2572bb4b9a7405bb8e9bb6b68962618
Contents?: true
Size: 244 Bytes
Versions: 5
Compression:
Stored size: 244 Bytes
Contents
covers 'facets/kernel/returning' test_case Kernel do method :returning do test do foo = returning( values = [] ) do values << 'bar' values << 'baz' end foo.assert == ['bar', 'baz'] end end end
Version data entries
5 entries across 5 versions & 2 rubygems