lib/node_mutation.rb in node_mutation-1.23.0 vs lib/node_mutation.rb in node_mutation-1.23.1
- old
+ new
@@ -422,9 +422,11 @@
case adapter.to_sym
when :parser
ParserAdapter.new
when :syntax_tree
SyntaxTreeAdapter.new
+ when :prism
+ PrismAdapter.new
else
raise InvalidAdapterError, "adapter #{adapter} is not supported"
end
end
end