Sha256: fa26bfd2cc8dfcbf9435b013347a1ccaf440d30c21cac7d8d59e78af38293337
Contents?: true
Size: 538 Bytes
Versions: 1
Compression:
Stored size: 538 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/module/initializer.rb # # Extracted Tue Jun 06 09:30:19 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/module/initializer.rb' require 'test/unit' class TCModule < Test::Unit::TestCase def test_attr_initializer cc = Class.new cc.class_eval { initializer :ai attr_reader :ai } c = cc.new(10) assert_equal( 10, c.ai ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.4.1 | test/lib/facets/core/module/test_initializer.rb |