Class: Mutant::Loader::Eval
- Inherits:
-
Mutant::Loader
- Object
- Mutant::Loader
- Mutant::Loader::Eval
- Defined in:
- lib/mutant/loader.rb
Overview
Eval based loader
Instance Method Summary collapse
-
#call ⇒ undefined
private
Call loader.
Instance Method Details
#call ⇒ 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.
Call loader
One off the very few valid uses of eval
rubocop:disable Lint/Eval
18 19 20 21 22 23 24 25 26 |
# File 'lib/mutant/loader.rb', line 18 def call eval( source, TOPLEVEL_BINDING, subject.source_path.to_s, subject.source_line ) self end |