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.0.0 lib/facet/module/shadow_all.rb
facets-1.0.3 packages/core/lib/facet/module/shadow_all.rb
facets-1.2.1 lib/facets/core/module/shadow_all.rb
facets-1.3.0 lib/facets/core/module/shadow_all.rb
facets-1.1.0 lib/facet/module/shadow_all.rb
facets-1.2.0 lib/facets/core/module/shadow_all.rb
facets-1.3.1 lib/facets/core/module/shadow_all.rb
facets-1.3.3 lib/facets/core/module/shadow_all.rb
facets-1.3.2 lib/facets/core/module/shadow_all.rb
facets-1.4.2 lib/facets/core/module/shadow_all.rb
facets-1.4.1 lib/facets/core/module/shadow_all.rb
facets-1.4.0 lib/facets/core/module/shadow_all.rb
facets-1.4.3 lib/facets/core/module/shadow_all.rb
facets-1.4.4 lib/facets/core/module/shadow_all.rb
facets-1.4.5 lib/facets/core/module/shadow_all.rb
facets-1.7.30 lib/facets/core/module/shadow_all.rb
facets-1.7.0 lib/facets/core/module/shadow_all.rb
facets-1.7.38 lib/facets/core/module/shadow_all.rb
facets-1.7.46 lib/facets/core/module/shadow_all.rb
facets-1.8.0 lib/facets/core/module/shadow_all.rb