Sha256: 47904629481e2516ebb36167269546f37dff8014ada2dbcb664fae865c9496b8

Contents?: true

Size: 1.39 KB

Versions: 12

Compression:

Stored size: 1.39 KB

Contents

# typed: strict

# DO NOT EDIT MANUALLY
# This file was pulled from a central RBI files repository.
# Please run `bin/tapioca annotations` to update it.

module ActiveSupport::Testing::Declarative
  sig { params(name: String, block: T.proc.bind(T.untyped).void).void }
  def test(name, &block); end
end

class ActiveSupport::EnvironmentInquirer
  sig { returns(T::Boolean) }
  def development?; end

  sig { returns(T::Boolean) }
  def production?; end

  sig { returns(T::Boolean) }
  def test?; end

  # @method_missing: delegated to String through ActiveSupport::StringInquirer
  sig { returns(T::Boolean) }
  def staging?; end
end

module ActiveSupport::Testing::SetupAndTeardown::ClassMethods
  sig { params(args: T.untyped, block: T.nilable(T.proc.bind(T.untyped).void)).void }
  def setup(*args, &block); end

  sig { params(args: T.untyped, block: T.nilable(T.proc.bind(T.untyped).void)).void }
  def teardown(*args, &block); end
end

class ActiveSupport::TestCase
  sig { params(args: T.untyped, block: T.nilable(T.proc.bind(T.attached_class).void)).void }
  def self.setup(*args, &block); end

  sig { params(args: T.untyped, block: T.nilable(T.proc.bind(T.attached_class).void)).void }
  def self.teardown(*args, &block); end

  sig { params(name: String, block: T.proc.bind(T.attached_class).void).void }
  def self.test(name, &block); end
end

class String
  sig { returns(T::Boolean) }
  def blank?; end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
m2m_keygen-0.4.7 sorbet/rbi/annotations/activesupport.rbi
m2m_keygen-0.4.6 sorbet/rbi/annotations/activesupport.rbi
m2m_keygen-0.4.5 sorbet/rbi/annotations/activesupport.rbi
m2m_keygen-0.4.4 sorbet/rbi/annotations/activesupport.rbi
m2m_keygen-0.4.3 sorbet/rbi/annotations/activesupport.rbi
m2m_keygen-0.4.2 sorbet/rbi/annotations/activesupport.rbi
m2m_keygen-0.4.1 sorbet/rbi/annotations/activesupport.rbi
m2m_keygen-0.4.0 sorbet/rbi/annotations/activesupport.rbi
m2m_keygen-0.3.0 sorbet/rbi/annotations/activesupport.rbi
m2m_keygen-0.2.1 sorbet/rbi/annotations/activesupport.rbi
m2m_keygen-0.2.0 sorbet/rbi/annotations/activesupport.rbi
m2m_keygen-0.1.0 sorbet/rbi/annotations/activesupport.rbi