# File rbs-2.0.0/lib/rbs/ast/members.rb, line 150 def initialize(name:, args:, annotations:, location:, comment:) @name = name @args = args @annotations = annotations @location = location @comment = comment end
# File rbs-2.0.0/lib/rbs/ast/members.rb, line 158 def ==(other) other.is_a?(self.class) && other.name == name && other.args == args end
# File rbs-2.0.0/lib/rbs/ast/members.rb, line 162 def eql?(other) self == other end
# File rbs-2.0.0/lib/rbs/ast/members.rb, line 166 def hash self.class.hash ^ name.hash ^ args.hash end
This page was generated for Ruby 3.1.0
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.