Sha256: 72bfa230825088bc59cc8f113c88278ef48f8efc8d61dc38aead342b93b4b72d
Contents?: true
Size: 555 Bytes
Versions: 9
Compression:
Stored size: 555 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ | # |_|\___||___/\__| # # for lib/facets/instantiable.rb # # Extracted Mon Sep 03 16:23:07 -0700 2007 # w/ Test Extraction Ratchet # 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
9 entries across 9 versions & 1 rubygems