Sha256: 027cf7ba76c8e01db4b87e89a059835751d25f5270dc18636e5318273c416f8a

Contents?: true

Size: 497 Bytes

Versions: 1

Compression:

Stored size: 497 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/module/nodef.rb
#
# Extracted Fri Feb 16 02:00:36 EST 2007
# Project.rb Test Extraction
#

require 'facets/core/module/nodef.rb'


  require 'test/unit'

  class TCModule < Test::Unit::TestCase

    def the_undefined_method ; 'not here' ; end

    nodef :the_undefined_method

    def test_nodef
      assert( ! respond_to?( :the_undefined_method ) )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.8.49 test/lib/facets/core/module/test_nodef.rb