lib/mutant/bootstrap.rb in mutant-0.10.17 vs lib/mutant/bootstrap.rb in mutant-0.10.18

- old
+ new

@@ -28,11 +28,11 @@ # @param [Config] config # # @return [Either<String, Env>] # # rubocop:disable Metrics/MethodLength - def self.apply(world, config) + def self.call(world, config) env = Env .empty(world, config) .tap(&method(:infect)) .with(matchable_scopes: matchable_scopes(world, config)) @@ -107,10 +107,10 @@ scope: scope ) return end - expression_parser.apply(name).from_right {} + expression_parser.call(name).from_right {} end private_class_method :expression # rubocop:enable Metrics/MethodLength def self.semantics_warning(reporter, format, options)