module RBS::AST::Members::LocationOnly
Attributes
location
[R]
Location[bot, bot]?
Public Class Methods
(location: Location[bot, bot]?) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/ast/members.rb, line 368 def initialize(location:) @location = location end
Public Instance Methods
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/ast/members.rb, line 372 def ==(other) other.is_a?(self.class) end
Also aliased as: eql?
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/ast/members.rb, line 378 def hash self.class.hash end