Sha256: 4c4748a4421f35127140d29a1a4deb4470cf325483dfd714be29479a05f964df

Contents?: true

Size: 1.47 KB

Versions: 3

Compression:

Stored size: 1.47 KB

Contents

# THIS IS GENERATED CODE from `$ rake sig`

module Orthoses::Utils
  self.@env_cache: untyped

  def self.unautoload!: () -> untyped

  def self.each_const_recursive: (Module root, ?cache: Hash[untyped, true], ?on_error: nil | ^(Orthoses::ConstLoadError) -> void) ?{ (Module, Symbol, untyped) -> void } -> void

  def self.rbs_defined_const?: (String name, ?library: (String | Array[String])?, ?collection: boolish) -> bool

  def self.rbs_defined_class?: (String name, ?library: (String | Array[String])?, ?collection: boolish) -> bool

  def self.rbs_type_name: (String) -> RBS::TypeName

  def self.rbs_environment: (?library: String | Array[String] | nil, ?collection: boolish, ?cache: boolish) -> RBS::Environment

  def self.object_to_rbs: (untyped object, ?strict: bool) -> String

  def self.module_name: (Module mod) -> String?

  def self.module_to_type_name: (Module) -> RBS::TypeName?

  def self.attached_module_name: (Module) -> String?

  def self.known_type_params: (Module | String) -> Array[RBS::AST::TypeParam]?

  def self.new_store: () -> Orthoses::store

  UNBOUND_NAME_METHOD: UnboundMethod
end

# internal
class Orthoses::Utils::TypeList
  @types: untyped
  def initialize: (untyped types) -> void
  def inject: () -> untyped
  private def normalize: () -> self
  BOOL_TYPE: RBS::Types::Bases::Bool
  FALSE_TYPE: RBS::Types::Literal
  NIL_TYPE: RBS::Types::Bases::Nil
  TRUE_TYPE: RBS::Types::Literal
  UNTYPED: RBS::Types::Bases::Any
end

module Orthoses::Utils::Underscore
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
orthoses-1.17.0 sig/orthoses/utils.rbs
orthoses-1.16.0 sig/orthoses/utils.rbs
orthoses-1.15.0 sig/orthoses/utils.rbs