Sha256: 1563084eb60076cd21c6917ad1bad0f660b14d87bcc141f4067e5192d6901bc5
Contents?: true
Size: 1.44 KB
Versions: 7
Compression:
Stored size: 1.44 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 Object sig { returns(T::Boolean) } def blank?; end sig { returns(T::Boolean) } def present?; end end
Version data entries
7 entries across 7 versions & 2 rubygems