Class: Mutant::Context
- Inherits:
-
Object
- Object
- Mutant::Context
- Includes:
- AbstractType, Adamantium::Flat
- Defined in:
- lib/mutant/context.rb,
lib/mutant/context/scope.rb
Overview
An abstract context where mutations can be appied to.
Direct Known Subclasses
Defined Under Namespace
Classes: Scope
Instance Attribute Summary collapse
-
#source_path ⇒ String
readonly
private
Return source path.
Instance Method Summary collapse
-
#root ⇒ Rubinis::AST::Script
private
Return root ast node.
Instance Attribute Details
#source_path ⇒ String (readonly)
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.
Return source path
20 21 22 |
# File 'lib/mutant/context.rb', line 20 def source_path @source_path end |
Instance Method Details
#root ⇒ Rubinis::AST::Script
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.
Return root ast node
12 |
# File 'lib/mutant/context.rb', line 12 abstract_method :root |