lib/mutant/matcher/config.rb in mutant-0.10.29 vs lib/mutant/matcher/config.rb in mutant-0.10.30
- old
+ new
@@ -23,10 +23,10 @@
subjects: :syntax
}.freeze
private_constant(*constants(false))
- DEFAULT = new(Hash[anima.attribute_names.map { |name| [name, []] }])
+ DEFAULT = new(anima.attribute_names.map { |name| [name, []] }.to_h)
expression = Transform::Block.capture(:expression) do |input|
Mutant::Config::DEFAULT.expression_parser.call(input)
end