Sha256: 19451d17eddb7c77f38ebf3f715b693164af82df0a75e12a40f5ffd964fbfadd

Contents?: true

Size: 407 Bytes

Versions: 10

Compression:

Stored size: 407 Bytes

Contents

class Module

  # Alias for undef_method. This has been called "nodef" instead of
  # undef to help clarify that it doesn't get rid of the method, but
  # rather represses repsonse.
  alias_method :nodef, :undef_method

  # Alias for remove_method. This method actually "undefines" a method
  # and will raise an error is the method is not defined in receiver.
  alias_method :remove,  :remove_method

end

Version data entries

10 entries across 9 versions & 2 rubygems

Version Path
facets-glimmer-3.2.0 lib/core/facets/module/nodef.rb
facets-3.1.0 lib/core/facets/module/nodef.rb
facets-3.0.0 lib/core/facets/module/nodef.rb
facets-2.9.3 lib/core/facets/module/nodef.rb
facets-2.9.2 src/core/facets/module/nodef.rb
facets-2.9.2 lib/core/facets/module/nodef.rb
facets-2.9.1 lib/core/facets/module/nodef.rb
facets-2.9.0 lib/core/facets/module/nodef.rb
facets-2.9.0.pre.2 lib/core/facets/module/nodef.rb
facets-2.9.0.pre.1 lib/core/facets/module/nodef.rb