Class: Mutant::Zombifier Private

Inherits:
Object
  • Object
show all
Includes:
AST::Sexp
Defined in:
lib/mutant/zombifier.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Zombifier namespace

Defined Under Namespace

Classes: LoadError

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeundefined

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Initialize object

Parameters:

  • namespace (Symbol)


28
29
30
31
32
# File 'lib/mutant/zombifier.rb', line 28

def initialize(*)
  super
  @includes = %r{\A#{Regexp.union(includes)}(?:/.*)?\z}
  @zombified = Set.new
end

Class Method Details

.callself

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Call zombifier

Returns:

  • (self)


37
38
39
40
# File 'lib/mutant/zombifier.rb', line 37

def self.call(*)
  new(*).__send__(:call)
  self
end