Object
# File rbs-1.4.0/lib/rbs/constant.rb, line 7 def initialize(name:, type:, entry:) @name = name @type = type @entry = entry end
# File rbs-1.4.0/lib/rbs/constant.rb, line 13 def ==(other) other.is_a?(Constant) && other.name == name && other.type == type && other.entry == entry end
# File rbs-1.4.0/lib/rbs/constant.rb, line 22 def hash self.class.hash ^ name.hash ^ type.hash ^ entry.hash 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.