In Files

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

Methods

Class/Module Index [+]

Quicksearch

RBS::AST::Members::LocationOnly

Attributes

location[R]

Public Class Methods

new(location:) click to toggle source
 
               # File rbs-1.0.4/lib/rbs/ast/members.rb, line 304
def initialize(location))
  @location = location
end
            

Public Instance Methods

==(other) click to toggle source
 
               # File rbs-1.0.4/lib/rbs/ast/members.rb, line 308
def ==(other)
  other.is_a?(self.class)
end
            
Also aliased as: eql?
eql?(other) click to toggle source
Alias for: ==
hash() click to toggle source
 
               # File rbs-1.0.4/lib/rbs/ast/members.rb, line 314
def hash
  self.class.hash
end