sai 0.3.2 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,47 +0,0 @@
1
- # Generated from lib/sai/decorator/delegation.rb with RBS::Inline
2
-
3
- module Sai
4
- class Decorator
5
- # Delegates all methods from the Decorator class and its component modules
6
- #
7
- # @author {https://aaronmallen.me Aaron Allen}
8
- # @since 0.3.1
9
- #
10
- # @api private
11
- module Delegation
12
- # The list of component modules to delegate methods from
13
- #
14
- # @author {https://aaronmallen.me Aaron Allen}
15
- # @since 0.3.1
16
- #
17
- # @api private
18
- #
19
- # @return [Array<Symbol>] the list of component modules
20
- COMPONENT_MODULES: Array[Symbol]
21
-
22
- # Install delegated methods on the given class or module
23
- #
24
- # @author {https://aaronmallen.me Aaron Allen}
25
- # @since 0.3.1
26
- #
27
- # @api private
28
- #
29
- # @param klass [Class, Module] the class or module to install the methods on
30
- #
31
- # @return [void]
32
- # @rbs (Class | Module) -> void
33
- def self.install: (Class | Module) -> void
34
-
35
- # Collect all methods from the Decorator class and its component modules
36
- #
37
- # @author {https://aaronmallen.me Aaron Allen}
38
- # @since 0.3.1
39
- #
40
- # @api private
41
- #
42
- # @return [Array<Symbol>] the list of methods to delegate
43
- # @rbs () -> Array[Symbol]
44
- private def self.collect_delegatable_methods: () -> Array[Symbol]
45
- end
46
- end
47
- end