Sha256: 4684b81ac06621433d6cd60d2255727f2f90e33e6462bfc12efccaeab8e9f0e1
Contents?: true
Size: 467 Bytes
Versions: 11
Compression:
Stored size: 467 Bytes
Contents
module RBS class Constant attr_reader :name attr_reader :type attr_reader :declaration 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
11 entries across 11 versions & 1 rubygems