Sha256: 84b4d9e8a32f3caedbab474a2a3e312ea7d51acf37d94e68daad09bc05723171

Contents?: true

Size: 362 Bytes

Versions: 3

Compression:

Stored size: 362 Bytes

Contents

require 'facets/core/module/shadow_method'

class Module
  # Creates a shadow method for every currently defined method.
  def shadow_all( include_ancestors=true )
    instance_methods(include_ancestors).each { |m| shadow_method( m ) }
  end
end


#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# TODO

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facets-1.8.49 lib/facets/core/module/shadow_all.rb
facets-1.8.51 lib/facets/core/module/shadow_all.rb
facets-1.8.54 lib/facets/core/module/shadow_all.rb