Sha256: 97856ebe87eb66d20609a9fac53519a7e37b39b2455527f3daf1bf64e708429f

Contents?: true

Size: 530 Bytes

Versions: 2

Compression:

Stored size: 530 Bytes

Contents

module RBS
  class Constant
    type constant_entry = Environment::ClassEntry
                        | Environment::ModuleEntry
                        | Environment::SingleEntry[TypeName, AST::Declarations::Constant]

    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

2 entries across 2 versions & 1 rubygems

Version Path
rbs-0.13.1 sig/constant.rbs
rbs-0.13.0 sig/constant.rbs