Sha256: 979c8247189cee9f194080f56fea51942b6d5f9119835a3aff96d16c588105a0

Contents?: true

Size: 427 Bytes

Versions: 10

Compression:

Stored size: 427 Bytes

Contents

class Module
  private
  alias_method :undef, :undef_method
end


#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
=begin test

  require 'test/unit'

  class TCModule < Test::Unit::TestCase

    def the_undefined_method ; 'not here' ; end

    undef :the_undefined_method

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

  end

=end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
facets-0.9.0 lib/nano/module/undef.rb
facets-1.0.0 lib/facet/module/undef.rb
facets-1.0.3 packages/core/lib/facet/module/undef.rb
facets-1.2.1 lib/facets/core/module/undef.rb
facets-1.3.0 lib/facets/core/module/undef.rb
facets-1.1.0 lib/facet/module/undef.rb
facets-1.2.0 lib/facets/core/module/undef.rb
facets-1.3.1 lib/facets/core/module/undef.rb
facets-1.3.2 lib/facets/core/module/undef.rb
facets-1.3.3 lib/facets/core/module/undef.rb