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