class RBS::AST::Declarations::Class::Super
Attributes
location
[R]
loc?
Public Class Methods
Public Instance Methods
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/ast/declarations.rb, line 67 def ==(other) other.is_a?(Super) && other.name == name && other.args == args end
Also aliased as: eql?
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/ast/declarations.rb, line 73 def hash self.class.hash ^ name.hash ^ args.hash end
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/ast/declarations.rb, line 77 def to_json(state = nil) { name: name, args: args, location: location }.to_json(state) end