Sha256: f18587bae86ff717d8a9224fd5f4b39dcaac3175d1354012dd659512c2335f25
Contents?: true
Size: 534 Bytes
Versions: 1
Compression:
Stored size: 534 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/module/initializer.rb # # Extracted Fri Feb 16 02:00:36 EST 2007 # Project.rb Test Extraction # 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.8.49 | test/lib/facets/core/module/test_initializer.rb |