Class: Mutant::Zombifier Private
- Inherits:
-
Object
- Object
- Mutant::Zombifier
- 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
Constant Summary collapse
- LoadError =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Class.new(::LoadError)
Class Method Summary collapse
-
.call(*args) ⇒ self
private
Call zombifier.
Instance Method Summary collapse
-
#initialize ⇒ undefined
constructor
private
Initialize object.
Constructor Details
#initialize ⇒ undefined
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
26 27 28 29 30 |
# File 'lib/mutant/zombifier.rb', line 26 def initialize(*) super @includes = %r{\A#{Regexp.union(includes)}(?:/.*)?\z} @zombified = Set.new end |
Class Method Details
.call(*args) ⇒ self
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
35 36 37 38 |
# File 'lib/mutant/zombifier.rb', line 35 def self.call(*args) new(*args).__send__(:call) self end |