Sha256: 653d922576dea27b785f6ae9edfb8c4b2f074d6637b4abcfaec5bf5de4ff48e9

Contents?: true

Size: 356 Bytes

Versions: 22

Compression:

Stored size: 356 Bytes

Contents

require 'facet/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

22 entries across 22 versions & 1 rubygems

Version Path
facets-1.8.20 lib/facets/core/module/shadow_all.rb
facets-1.8.8 lib/facets/core/module/shadow_all.rb