Sha256: b8d8810585765e283239d98f07b318b701f9afeb5ed4bf36a7412a87c848d8f5

Contents?: true

Size: 465 Bytes

Versions: 40

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

40 entries across 40 versions & 1 rubygems

Version Path
rbs-3.3.2 sig/constant.rbs
rbs-3.3.1 sig/constant.rbs
rbs-3.3.0 sig/constant.rbs
rbs-3.3.0.pre.2 sig/constant.rbs
rbs-3.3.0.pre.1 sig/constant.rbs
rbs-3.2.2 sig/constant.rbs
rbs-3.2.1 sig/constant.rbs
rbs-3.2.0 sig/constant.rbs
rbs-3.2.0.pre.1 sig/constant.rbs
rbs-3.1.3 sig/constant.rbs
rbs-3.1.2 sig/constant.rbs
rbs-3.1.1 sig/constant.rbs
rbs-3.1.0 sig/constant.rbs
rbs-3.0.4 sig/constant.rbs
rbs-3.0.3 sig/constant.rbs
rbs-3.0.2 sig/constant.rbs
rbs-3.0.1 sig/constant.rbs
rbs-3.0.0 sig/constant.rbs
rbs-3.0.0.dev.3 sig/constant.rbs
rbs-3.0.0.dev.2 sig/constant.rbs