Sha256: 9a529a16db33f3f6f60f20d27001383a309e2c5caad1be7ca72d317f35aa0b4a

Contents?: true

Size: 795 Bytes

Versions: 34

Compression:

Stored size: 795 Bytes

Contents

module RBS
  module BuiltinNames
    class Name
      attr_reader name: TypeName

      def initialize: (name: TypeName) -> void

      def to_s: () -> String

      def instance_type: (*Types::t) -> Types::ClassInstance

      def instance_type?: (Types::t) -> bool

      def singleton_type: () -> Types::ClassSingleton

      def singleton_type?: (Types::t) -> bool

      def self.define: (Symbol, ?namespace: Namespace) -> instance
    end

    BasicObject: Name
    Object: Name
    Kernel: Name
    String: Name
    Comparable: Name
    Enumerable: Name
    Class: Name
    Module: Name
    Array: Name
    Hash: Name
    Range: Name
    Enumerator: Name
    Set: Name
    Symbol: Name
    Integer: Name
    Float: Name
    Regexp: Name
    TrueClass: Name
    FalseClass: Name
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
rbs-0.20.1 sig/builtin_names.rbs
rbs-0.20.0 sig/builtin_names.rbs
rbs-0.19.0 sig/builtin_names.rbs
rbs-0.18.1 sig/builtin_names.rbs
rbs-0.18.0 sig/builtin_names.rbs
rbs-0.17.0 sig/builtin_names.rbs
rbs-0.16.0 sig/builtin_names.rbs
rbs-0.15.0 sig/builtin_names.rbs
rbs-0.14.0 sig/builtin_names.rbs
rbs-0.13.1 sig/builtin_names.rbs
rbs-0.13.0 sig/builtin_names.rbs
rbs-0.12.2 sig/builtin_names.rbs
rbs-0.12.1 sig/builtin_names.rbs
rbs-0.12.0 sig/builtin_names.rbs