module RBS::AST::Members::LocationOnly

Attributes

location[R]

Public Class Methods

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

Public Instance Methods

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