class RBS::Annotate::Annotations::Skip
Skip annotation allows skipping generating annotation of a subject.
%a{annotate:rdoc:skip}
%a{annotate:rdoc:skip:all}
Attributes
annotation
[R]
AST::Annotation
skip_children
[R]
bool
Public Class Methods
(annotation: AST::Annotation, skip_children: bool) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/annotate/annotations.rb, line 9 def initialize(annotation:, skip_children:) @annotation = annotation @skip_children = skip_children end
Public Instance Methods
(untyped) → bool
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/annotate/annotations.rb, line 18 def ==(other) other.is_a?(Skip) && other.skip_children == skip_children && other.annotation == annotation end
Also aliased as: eql?, eql?