Sha256: 65636c0d3f53ea9ff5b46d58623cd9619c16c240fd53cce93ac440408256642a
Contents?: true
Size: 299 Bytes
Versions: 19
Compression:
Stored size: 299 Bytes
Contents
# Test for facets/kernel/returning.rb require 'facets/kernel/returning.rb' require 'test/unit' class TC_Kernel < Test::Unit::TestCase def test_returning foo = returning( values = [] ) do values << 'bar' values << 'baz' end assert_equal( ['bar', 'baz'], foo ) end end
Version data entries
19 entries across 19 versions & 1 rubygems