Sha256: 5baf7286017ea135714073610b500068d6c36140eae414fe9ba21d87069a2bbd

Contents?: true

Size: 165 Bytes

Versions: 4

Compression:

Stored size: 165 Bytes

Contents

module Kernel

  alias_method :_extend, :extend

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

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.8.4 lib/core/facets/kernel/extend.rb
facets-2.8.3 lib/core/facets/kernel/extend.rb
facets-2.8.2 lib/core/facets/kernel/extend.rb
facets-2.8.1 lib/core/facets/kernel/extend.rb