Sha256: 903c55abb550eed9d0a1f5094acdeed0f15f1c436733c7c96005889760ab6e7f
Contents?: true
Size: 330 Bytes
Versions: 2
Compression:
Stored size: 330 Bytes
Contents
# Foo classes are powerful stuff. class Foo # This is the infamous Foo#bar method. # def bar "FOOBAR!!!" end end =begin demo puts Foo.bar.new =end =begin test require 'test/unit' class TestThis < Test::Unit::TestCase def test_foo assert_equal("FOOBAR!!!", Foo.new.bar) end end =end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
proutils-0.3.1 | demo/mint/tryme.rb |
proutils-0.3.0 | demo/mint/tryme.rb |