Sha256: da23f3556cd19e5b0f4e40b58f45a2987d861ba26937433a49eba3a912a5f1dd
Contents?: true
Size: 282 Bytes
Versions: 4
Compression:
Stored size: 282 Bytes
Contents
require 'facets/binding/local_variables' require 'test/unit' class TC_Binding_Defined < Test::Unit::TestCase def setup a = 1 b = 2 x = "hello" @bind = binding end def test_local_variables assert_equal( ["a","b","x"], @bind.local_variables ) end end
Version data entries
4 entries across 4 versions & 1 rubygems