lib/rbi/rewriters/annotate.rb in rbi-0.0.16 vs lib/rbi/rewriters/annotate.rb in rbi-0.0.17

- old
+ new

@@ -28,10 +28,11 @@ private sig { params(node: NodeWithComments).void } def annotate_node(node) return if node.annotations.one?(@annotation) + node.comments << Comment.new("@#{@annotation}") end sig { params(node: Node).returns(T::Boolean) } def root?(node) @@ -47,10 +48,10 @@ sig { params(annotation: String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void } def annotate!(annotation, annotate_scopes: false, annotate_properties: false) visitor = Rewriters::Annotate.new( annotation, annotate_scopes: annotate_scopes, - annotate_properties: annotate_properties + annotate_properties: annotate_properties, ) visitor.visit(self) end end end