Sha256: 51bb5ad6d0aba82987544e5630ca2822efc6b813b7ec2bf9ff9ea5e64ec95fac

Contents?: true

Size: 156 Bytes

Versions: 1

Compression:

Stored size: 156 Bytes

Contents

module Kernel

  alias_method :_extend, :extend

  def extend(*mod, &blk)
    _extend *mod unless mod.empty?
    _extend Module.new(&blk) if blk
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-2.8.0 lib/core/facets/kernel/extend.rb