module RBS::AST::Members::LocationOnly

Attributes

location[R]

Public Class Methods

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

Public Instance Methods

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