class RBS::Types::Function::ForwardingParam
Attributes
location
[R]
Location?
Public Class Methods
(location: Location) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.2.0/lib/rbs/types.rb, line 965 def initialize(location:) @location = location end
Public Instance Methods
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.2.0/lib/rbs/types.rb, line 969 def ==(other) other.is_a?(ForwardingParam) end
Also aliased as: eql?
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.2.0/lib/rbs/types.rb, line 975 def hash self.class.hash end
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.2.0/lib/rbs/types.rb, line 979 def to_json(state = nil) json = {} #: Hash[Symbol, untyped] json.to_json(state) end
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.2.0/lib/rbs/types.rb, line 984 def to_s "..." end