Object
# File rbs-1.4.0/lib/rbs/ast/declarations.rb, line 156 def initialize(name:, args:, location:) @name = name @args = args @location = location end
# File rbs-1.4.0/lib/rbs/ast/declarations.rb, line 162 def ==(other) other.is_a?(Super) && other.name == name && other.args == args end
# File rbs-1.4.0/lib/rbs/ast/declarations.rb, line 168 def hash self.class.hash ^ name.hash ^ args.hash end
# File rbs-1.4.0/lib/rbs/ast/declarations.rb, line 172 def to_json(state = _ = nil) { name: name, args: args, location: location }.to_json(state) end
This page was generated for Ruby 3.0.4
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.