lib/mutant/env.rb in mutant-0.10.25 vs lib/mutant/env.rb in mutant-0.10.26
- old
+ new
@@ -1,11 +1,11 @@
# frozen_string_literal: true
module Mutant
# Abstract base class for mutant environments
class Env
- include Adamantium::Flat, Anima.new(
+ include Adamantium, Anima.new(
:config,
:integration,
:matchable_scopes,
:mutations,
:parser,
@@ -29,10 +29,10 @@
def self.empty(world, config)
new(
config: config,
integration: Integration::Null.new(
expression_parser: config.expression_parser,
- timer: world.timer
+ world: world
),
matchable_scopes: EMPTY_ARRAY,
mutations: EMPTY_ARRAY,
parser: Parser.new,
selector: Selector::Null.new,