class RBS::Annotate::Annotations::Skip
Attributes
annotation[R]
skip_children[R]
Public Class Methods
new(annotation:, skip_children:)
click to toggle source
# File rbs-3.2.2/lib/rbs/annotate/annotations.rb, line 9 def initialize(annotation:, skip_children:) @annotation = annotation @skip_children = skip_children end
Public Instance Methods
==(other)
click to toggle source
# File rbs-3.2.2/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?
hash()
click to toggle source
# File rbs-3.2.2/lib/rbs/annotate/annotations.rb, line 14 def hash self.class.hash ^ annotation.hash ^ skip_children.hash end