Object
# File rbs-2.0.0/lib/rbs/definition.rb, line 181 def initialize(name:, args:, source:) @name = name @args = args @source = source end
# File rbs-2.0.0/lib/rbs/definition.rb, line 187 def ==(other) other.is_a?(Instance) && other.name == name && other.args == args end
# File rbs-2.0.0/lib/rbs/definition.rb, line 193 def hash self.class.hash ^ name.hash ^ args.hash end
This page was generated for Ruby 3.1.0
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.42.0.