Sha256: b8d8810585765e283239d98f07b318b701f9afeb5ed4bf36a7412a87c848d8f5

Contents?: true

Size: 465 Bytes

Versions: 49

Compression:

Stored size: 465 Bytes

Contents

module RBS
  class Constant
    type constant_entry = Environment::ClassEntry
                        | Environment::ModuleEntry
                        | Environment::ConstantEntry

    attr_reader name: TypeName

    attr_reader type: Types::t

    attr_reader entry: constant_entry

    def initialize: (name: TypeName, type: Types::t, entry: constant_entry) -> void

    def ==: (untyped other) -> bool

    alias eql? ==

    def hash: () -> Integer
  end
end

Version data entries

49 entries across 49 versions & 2 rubygems

Version Path
rbs-3.9.0 sig/constant.rbs
rbs-3.9.0.pre.2 sig/constant.rbs
rbs-3.9.0.pre.1 sig/constant.rbs
rbs-3.9.0.dev.1 sig/constant.rbs
rbs-relaxed-3.9.0.1 sig/constant.rbs
rbs-3.8.1 sig/constant.rbs
rbs-3.8.0 sig/constant.rbs
rbs-3.8.0.pre.1 sig/constant.rbs
rbs-3.7.0.pre.1 sig/constant.rbs
rbs-3.7.0.dev.1 sig/constant.rbs
rbs-3.6.1 sig/constant.rbs
rbs-3.6.0 sig/constant.rbs
rbs-3.6.0.pre.3 sig/constant.rbs
rbs-3.6.0.pre.2 sig/constant.rbs
rbs-3.6.0.pre.1 sig/constant.rbs
rbs-3.6.0.dev.1 sig/constant.rbs
rbs-3.5.3 sig/constant.rbs
rbs-3.5.2 sig/constant.rbs
rbs-3.5.1 sig/constant.rbs
rbs-3.5.1.pre.1 sig/constant.rbs