Object
# File rbs-2.0.0/lib/rbs/ast/declarations.rb, line 59 def initialize(name:, args:, location:) @name = name @args = args @location = location end
# File rbs-2.0.0/lib/rbs/ast/declarations.rb, line 65 def ==(other) other.is_a?(Super) && other.name == name && other.args == args end
# File rbs-2.0.0/lib/rbs/ast/declarations.rb, line 71 def hash self.class.hash ^ name.hash ^ args.hash end
# File rbs-2.0.0/lib/rbs/ast/declarations.rb, line 75 def to_json(state = _ = nil) { name: name, args: args, location: location }.to_json(state) end
This page was generated for Ruby 3.1.0
Generated with Ruby-doc Rdoc Generator 0.42.0.