Sha256: ff71ea2468e0e0ca4d74b9c4515a50e96085c81aba75a06b8160628e80fe6917
Contents?: true
Size: 461 Bytes
Versions: 57
Compression:
Stored size: 461 Bytes
Contents
module RBS class Constant attr_reader :name attr_reader :type attr_reader :entry def initialize(name:, type:, entry:) @name = name @type = type @entry = entry end def ==(other) other.is_a?(Constant) && other.name == name && other.type == type && other.entry == entry end alias eql? == def hash self.class.hash ^ name.hash ^ type.hash ^ entry.hash end end end
Version data entries
57 entries across 57 versions & 1 rubygems