# File rbs-2.1.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.1.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.1.0/lib/rbs/ast/members.rb, line 162 def eql?(other) self == other end
# File rbs-2.1.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.2
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.42.0.