module Typhoeus
def self.before(&block)
Experimental RBS support (using type sampling data from the type_fusion
project).
def self.before: () -> Array[]
This signature was generated using 39 samples from 3 applications.
-
(Array
- All before blocks.)
Other tags:
- Yield: -
Parameters:
-
block
(Block
) -- The callback.
Other tags:
- Example: Add before callback. -
def self.before(&block) @before ||= [] @before << block if block_given? @before end