module RBS::AST::Members::LocationOnly
Attributes
location[R]
Public Class Methods
new(location:)
click to toggle source
# File rbs-2.7.0/lib/rbs/ast/members.rb, line 332 def initialize(location:) @location = location end
Public Instance Methods
==(other)
click to toggle source
# File rbs-2.7.0/lib/rbs/ast/members.rb, line 336 def ==(other) other.is_a?(self.class) end
Also aliased as: eql?
hash()
click to toggle source
# File rbs-2.7.0/lib/rbs/ast/members.rb, line 342 def hash self.class.hash end