Sha256: 666acfcba442b15ed3ddd2c11a7931c843aa17834430f844730bef921341d601
Contents?: true
Size: 317 Bytes
Versions: 3
Compression:
Stored size: 317 Bytes
Contents
# Test lib/facets/instantiable.rb require 'facets/instantiable.rb' require 'test/unit' class TestInstantiable < Test::Unit::TestCase module M extend Module::Instantiable attr :a def initialize( a ) @a = a end end def test_new m = M.new( 1 ) assert_equal( 1, m.a ) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
facets-2.2.1 | test/unit/test_instantiable.rb |
facets-2.2.0 | test/unit/test_instantiable.rb |
facets-2.1.3 | test/unit/test_instantiable.rb |