class RBS::Annotate::Annotations::Skip
属性
annotation[R]
skip_children[R]
公共类方法
new(annotation:, skip_children:) 点击切换源代码
# File rbs-3.8.0/lib/rbs/annotate/annotations.rb, line 9 def initialize(annotation:, skip_children:) @annotation = annotation @skip_children = skip_children end
公共实例方法
==(other) 点击切换源代码
# File rbs-3.8.0/lib/rbs/annotate/annotations.rb, line 18 def ==(other) other.is_a?(Skip) && other.skip_children == skip_children && other.annotation == annotation end
也别名为:eql?
hash() 点击切换源代码
# File rbs-3.8.0/lib/rbs/annotate/annotations.rb, line 14 def hash self.class.hash ^ annotation.hash ^ skip_children.hash end