Object
# File rbs-1.0.4/lib/rbs/ast/declarations.rb, line 141 def initialize(name,, args,, location)) @name = name @args = args @location = location end
# File rbs-1.0.4/lib/rbs/ast/declarations.rb, line 147 def ==(other) other.is_a?(Super) && other.name == name && other.args == args end
# File rbs-1.0.4/lib/rbs/ast/declarations.rb, line 153 def hash self.class.hash ^ name.hash ^ args.hash end
# File rbs-1.0.4/lib/rbs/ast/declarations.rb, line 157 def to_json(*a) { name: name, args: args, location: location }.to_json(*a) end
This page was generated for Ruby 3.0.1
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.44.2.