In Files

  • rbs-1.0.4/lib/rbs/ast/members.rb

Methods

Class/Module Index [+]

Quicksearch

RBS::AST::Members::Mixin

Attributes

annotations[R]
args[R]
comment[R]
location[R]
name[R]

Public Class Methods

new(name:, args:, annotations:, location:, comment:) click to toggle source
 
               # File rbs-1.0.4/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
            

Public Instance Methods

==(other) click to toggle source
 
               # File rbs-1.0.4/lib/rbs/ast/members.rb, line 158
def ==(other)
  other.is_a?(self.class) && other.name == name && other.args == args
end
            
eql?(other) click to toggle source
 
               # File rbs-1.0.4/lib/rbs/ast/members.rb, line 162
def eql?(other)
  self == other
end
            
hash() click to toggle source
 
               # File rbs-1.0.4/lib/rbs/ast/members.rb, line 166
def hash
  self.class.hash ^ name.hash ^ args.hash
end