module-cluster 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +17 -2
- data/README.rdoc +17 -2
- data/lib/module-cluster.rb +4 -0
- data/lib/module-cluster/ModuleCluster.rb +1 -0
- data/lib/module-cluster/ModuleCluster/Define/ModuleCluster.rb +8 -24
- data/lib/module-cluster/ModuleCluster/Define/ModuleClusterCascades.rb +8 -24
- data/lib/module-cluster/ModuleCluster/Define/ModuleClusterCascadesToClass.rb +8 -24
- data/lib/module-cluster/ModuleCluster/Define/ModuleClusterCascadesToModule.rb +124 -0
- data/lib/module-cluster/ModuleCluster/Define/_private_/ModuleClusterCascadesToModule.rb +126 -0
- data/spec/ModuleCluster/Define/ModuleClusterCascadesToModule_spec.rb +432 -0
- data/spec/ModuleCluster/Define/_private_/ModuleClusterCascadesToModule_spec.rb +266 -0
- data/spec/ModuleCluster_spec.rb +1 -0
- metadata +7 -3
data/README.md
CHANGED
@@ -54,7 +54,7 @@ Cluster methods:
|
|
54
54
|
* extend_prepends_extends
|
55
55
|
* extend_prepends_includes_and_extends
|
56
56
|
|
57
|
-
Cascade methods:
|
57
|
+
Cascade methods (cascades to modules and classes):
|
58
58
|
|
59
59
|
* include_cascades_includes
|
60
60
|
* include_cascades_extends
|
@@ -69,7 +69,7 @@ Cascade methods:
|
|
69
69
|
* extend_cascades_prepending_extends
|
70
70
|
* extend_cascades_prepending_includes_and_extends
|
71
71
|
|
72
|
-
Cascade to class methods:
|
72
|
+
Cascade to class methods (does not cascade to modules):
|
73
73
|
|
74
74
|
* include_cascades_includes_to_class
|
75
75
|
* include_cascades_extends_to_class
|
@@ -84,6 +84,21 @@ Cascade to class methods:
|
|
84
84
|
* extend_cascades_to_class_prepending_extends
|
85
85
|
* extend_cascades_to_class_prepending_includes_and_extends
|
86
86
|
|
87
|
+
Cascade to module methods (does not cascade to classes):
|
88
|
+
|
89
|
+
* include_cascades_includes_to_module
|
90
|
+
* include_cascades_extends_to_module
|
91
|
+
* include_cascades_includes_and_extends_to_module
|
92
|
+
* extend_cascades_includes_to_module
|
93
|
+
* extend_cascades_extends_to_module
|
94
|
+
* extend_cascades_includes_and_extends_to_module
|
95
|
+
* include_cascades_to_module_prepending_includes
|
96
|
+
* include_cascades_to_module_prepending_extends
|
97
|
+
* include_cascades_to_module_prepending_includes_and_extends
|
98
|
+
* extend_cascades_to_module_prepending_includes
|
99
|
+
* extend_cascades_to_module_prepending_extends
|
100
|
+
* extend_cascades_to_module_prepending_includes_and_extends
|
101
|
+
|
87
102
|
# License #
|
88
103
|
|
89
104
|
(The MIT License)
|
data/README.rdoc
CHANGED
@@ -50,7 +50,7 @@ Cluster methods:
|
|
50
50
|
* extend_prepends_extends
|
51
51
|
* extend_prepends_includes_and_extends
|
52
52
|
|
53
|
-
Cascade methods:
|
53
|
+
Cascade methods (cascades to modules and classes):
|
54
54
|
|
55
55
|
* include_cascades_includes
|
56
56
|
* include_cascades_extends
|
@@ -65,7 +65,7 @@ Cascade methods:
|
|
65
65
|
* extend_cascades_prepending_extends
|
66
66
|
* extend_cascades_prepending_includes_and_extends
|
67
67
|
|
68
|
-
Cascade to class methods:
|
68
|
+
Cascade to class methods (does not cascade to modules):
|
69
69
|
|
70
70
|
* include_cascades_includes_to_class
|
71
71
|
* include_cascades_extends_to_class
|
@@ -80,6 +80,21 @@ Cascade to class methods:
|
|
80
80
|
* extend_cascades_to_class_prepending_extends
|
81
81
|
* extend_cascades_to_class_prepending_includes_and_extends
|
82
82
|
|
83
|
+
Cascade to module methods (does not cascade to classes):
|
84
|
+
|
85
|
+
* include_cascades_includes_to_module
|
86
|
+
* include_cascades_extends_to_module
|
87
|
+
* include_cascades_includes_and_extends_to_module
|
88
|
+
* extend_cascades_includes_to_module
|
89
|
+
* extend_cascades_extends_to_module
|
90
|
+
* extend_cascades_includes_and_extends_to_module
|
91
|
+
* include_cascades_to_module_prepending_includes
|
92
|
+
* include_cascades_to_module_prepending_extends
|
93
|
+
* include_cascades_to_module_prepending_includes_and_extends
|
94
|
+
* extend_cascades_to_module_prepending_includes
|
95
|
+
* extend_cascades_to_module_prepending_extends
|
96
|
+
* extend_cascades_to_module_prepending_includes_and_extends
|
97
|
+
|
83
98
|
== License
|
84
99
|
|
85
100
|
(The MIT License)
|
data/lib/module-cluster.rb
CHANGED
@@ -9,6 +9,8 @@ module ModuleCluster
|
|
9
9
|
end
|
10
10
|
module ModuleClusterCascadesToClass
|
11
11
|
end
|
12
|
+
module ModuleClusterCascadesToModule
|
13
|
+
end
|
12
14
|
module Deprecated
|
13
15
|
end
|
14
16
|
end
|
@@ -18,8 +20,10 @@ require_relative 'module-cluster/ModuleCluster.rb'
|
|
18
20
|
require_relative 'module-cluster/ModuleCluster/Define/ModuleCluster.rb'
|
19
21
|
require_relative 'module-cluster/ModuleCluster/Define/ModuleClusterCascades.rb'
|
20
22
|
require_relative 'module-cluster/ModuleCluster/Define/ModuleClusterCascadesToClass.rb'
|
23
|
+
require_relative 'module-cluster/ModuleCluster/Define/ModuleClusterCascadesToModule.rb'
|
21
24
|
require_relative 'module-cluster/ModuleCluster/Define/Deprecated.rb'
|
22
25
|
require_relative 'module-cluster/ModuleCluster/Define/_private_/ClusterStack.rb'
|
23
26
|
require_relative 'module-cluster/ModuleCluster/Define/_private_/ModuleCluster.rb'
|
24
27
|
require_relative 'module-cluster/ModuleCluster/Define/_private_/ModuleClusterCascades.rb'
|
25
28
|
require_relative 'module-cluster/ModuleCluster/Define/_private_/ModuleClusterCascadesToClass.rb'
|
29
|
+
require_relative 'module-cluster/ModuleCluster/Define/_private_/ModuleClusterCascadesToModule.rb'
|
@@ -6,6 +6,7 @@ module ModuleCluster
|
|
6
6
|
include ModuleCluster::Define::ModuleCluster
|
7
7
|
include ModuleCluster::Define::ModuleClusterCascades
|
8
8
|
include ModuleCluster::Define::ModuleClusterCascadesToClass
|
9
|
+
include ModuleCluster::Define::ModuleClusterCascadesToModule
|
9
10
|
|
10
11
|
include ModuleCluster::Define::Deprecated
|
11
12
|
|
@@ -7,9 +7,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
7
7
|
|
8
8
|
def include_also_includes( *includes )
|
9
9
|
includes_module = anonymous_module_included( :include, *includes )
|
10
|
-
clusterstack_module
|
11
|
-
include( includes_module )
|
12
|
-
end
|
10
|
+
clusterstack_module { include( includes_module ) }
|
13
11
|
return self
|
14
12
|
end
|
15
13
|
|
@@ -19,9 +17,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
19
17
|
|
20
18
|
def include_also_extends( *extends )
|
21
19
|
extends_module = anonymous_module_included( :extend, *extends )
|
22
|
-
clusterstack_module
|
23
|
-
include( extends_module )
|
24
|
-
end
|
20
|
+
clusterstack_module { include( extends_module ) }
|
25
21
|
return self
|
26
22
|
end
|
27
23
|
|
@@ -41,9 +37,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
41
37
|
|
42
38
|
def extend_also_includes( *includes )
|
43
39
|
includes_module = anonymous_module_extended( :include, *includes )
|
44
|
-
clusterstack_module
|
45
|
-
include( includes_module )
|
46
|
-
end
|
40
|
+
clusterstack_module { include( includes_module ) }
|
47
41
|
return self
|
48
42
|
end
|
49
43
|
|
@@ -53,9 +47,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
53
47
|
|
54
48
|
def extend_also_extends( *extends )
|
55
49
|
extends_module = anonymous_module_extended( :extend, *extends )
|
56
|
-
clusterstack_module
|
57
|
-
include( extends_module )
|
58
|
-
end
|
50
|
+
clusterstack_module { include( extends_module ) }
|
59
51
|
return self
|
60
52
|
end
|
61
53
|
|
@@ -75,9 +67,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
75
67
|
|
76
68
|
def include_prepends_includes( *includes )
|
77
69
|
includes_module = anonymous_module_append_features( :include, *includes )
|
78
|
-
clusterstack_module
|
79
|
-
include( includes_module )
|
80
|
-
end
|
70
|
+
clusterstack_module { include( includes_module ) }
|
81
71
|
return self
|
82
72
|
end
|
83
73
|
|
@@ -87,9 +77,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
87
77
|
|
88
78
|
def include_prepends_extends( *extends )
|
89
79
|
extends_module = anonymous_module_append_features( :extend, *extends )
|
90
|
-
clusterstack_module
|
91
|
-
include( extends_module )
|
92
|
-
end
|
80
|
+
clusterstack_module { include( extends_module ) }
|
93
81
|
return self
|
94
82
|
end
|
95
83
|
|
@@ -109,9 +97,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
109
97
|
|
110
98
|
def extend_prepends_includes( *includes )
|
111
99
|
includes_module = anonymous_module_extend_object( :include, *includes )
|
112
|
-
clusterstack_module
|
113
|
-
include( includes_module )
|
114
|
-
end
|
100
|
+
clusterstack_module { include( includes_module ) }
|
115
101
|
return self
|
116
102
|
end
|
117
103
|
|
@@ -121,9 +107,7 @@ module ModuleCluster::Define::ModuleCluster
|
|
121
107
|
|
122
108
|
def extend_prepends_extends( *extends )
|
123
109
|
extends_module = anonymous_module_extend_object( :extend, *extends )
|
124
|
-
clusterstack_module
|
125
|
-
include( extends_module )
|
126
|
-
end
|
110
|
+
clusterstack_module { include( extends_module ) }
|
127
111
|
return self
|
128
112
|
end
|
129
113
|
|
@@ -7,9 +7,7 @@ module ModuleCluster::Define::ModuleClusterCascades
|
|
7
7
|
|
8
8
|
def include_cascades_includes( *includes )
|
9
9
|
includes_module = anonymous_module_cascade_included( :include, *includes )
|
10
|
-
clusterstack_module
|
11
|
-
include( includes_module )
|
12
|
-
end
|
10
|
+
clusterstack_module { include( includes_module ) }
|
13
11
|
return self
|
14
12
|
end
|
15
13
|
|
@@ -19,9 +17,7 @@ module ModuleCluster::Define::ModuleClusterCascades
|
|
19
17
|
|
20
18
|
def include_cascades_extends( *extends )
|
21
19
|
extends_module = anonymous_module_cascade_included( :extend, *extends )
|
22
|
-
clusterstack_module
|
23
|
-
include( extends_module )
|
24
|
-
end
|
20
|
+
clusterstack_module { include( extends_module ) }
|
25
21
|
return self
|
26
22
|
end
|
27
23
|
|
@@ -41,9 +37,7 @@ module ModuleCluster::Define::ModuleClusterCascades
|
|
41
37
|
|
42
38
|
def extend_cascades_includes( *includes )
|
43
39
|
includes_module = anonymous_module_cascade_extended( :include, *includes )
|
44
|
-
clusterstack_module
|
45
|
-
include( includes_module )
|
46
|
-
end
|
40
|
+
clusterstack_module { include( includes_module ) }
|
47
41
|
return self
|
48
42
|
end
|
49
43
|
|
@@ -53,9 +47,7 @@ module ModuleCluster::Define::ModuleClusterCascades
|
|
53
47
|
|
54
48
|
def extend_cascades_extends( *extends )
|
55
49
|
extends_module = anonymous_module_cascade_extended( :extend, *extends )
|
56
|
-
clusterstack_module
|
57
|
-
include( extends_module )
|
58
|
-
end
|
50
|
+
clusterstack_module { include( extends_module ) }
|
59
51
|
return self
|
60
52
|
end
|
61
53
|
|
@@ -75,9 +67,7 @@ module ModuleCluster::Define::ModuleClusterCascades
|
|
75
67
|
|
76
68
|
def include_cascades_prepending_includes( *includes )
|
77
69
|
includes_module = anonymous_module_cascade_append_features( :include, *includes )
|
78
|
-
clusterstack_module
|
79
|
-
include( includes_module )
|
80
|
-
end
|
70
|
+
clusterstack_module { include( includes_module ) }
|
81
71
|
return self
|
82
72
|
end
|
83
73
|
|
@@ -87,9 +77,7 @@ module ModuleCluster::Define::ModuleClusterCascades
|
|
87
77
|
|
88
78
|
def include_cascades_prepending_extends( *extends )
|
89
79
|
extends_module = anonymous_module_cascade_append_features( :extend, *extends )
|
90
|
-
clusterstack_module
|
91
|
-
include( extends_module )
|
92
|
-
end
|
80
|
+
clusterstack_module { include( extends_module ) }
|
93
81
|
return self
|
94
82
|
end
|
95
83
|
|
@@ -109,9 +97,7 @@ module ModuleCluster::Define::ModuleClusterCascades
|
|
109
97
|
|
110
98
|
def extend_cascades_prepending_includes( *includes )
|
111
99
|
includes_module = anonymous_module_cascade_extend_object( :include, *includes )
|
112
|
-
clusterstack_module
|
113
|
-
include( includes_module )
|
114
|
-
end
|
100
|
+
clusterstack_module { include( includes_module ) }
|
115
101
|
return self
|
116
102
|
end
|
117
103
|
|
@@ -121,9 +107,7 @@ module ModuleCluster::Define::ModuleClusterCascades
|
|
121
107
|
|
122
108
|
def extend_cascades_prepending_extends( *extends )
|
123
109
|
extends_module = anonymous_module_cascade_extend_object( :extend, *extends )
|
124
|
-
clusterstack_module
|
125
|
-
include( extends_module )
|
126
|
-
end
|
110
|
+
clusterstack_module { include( extends_module ) }
|
127
111
|
return self
|
128
112
|
end
|
129
113
|
|
@@ -7,9 +7,7 @@ module ModuleCluster::Define::ModuleClusterCascadesToClass
|
|
7
7
|
|
8
8
|
def include_cascades_includes_to_class( *includes )
|
9
9
|
includes_module = anonymous_module_cascade_to_class_included( :include, *includes )
|
10
|
-
clusterstack_module
|
11
|
-
include( includes_module )
|
12
|
-
end
|
10
|
+
clusterstack_module { include( includes_module ) }
|
13
11
|
return self
|
14
12
|
end
|
15
13
|
|
@@ -19,9 +17,7 @@ module ModuleCluster::Define::ModuleClusterCascadesToClass
|
|
19
17
|
|
20
18
|
def include_cascades_extends_to_class( *extends )
|
21
19
|
extends_module = anonymous_module_cascade_to_class_included( :extend, *extends )
|
22
|
-
clusterstack_module
|
23
|
-
include( extends_module )
|
24
|
-
end
|
20
|
+
clusterstack_module { include( extends_module ) }
|
25
21
|
return self
|
26
22
|
end
|
27
23
|
|
@@ -41,9 +37,7 @@ module ModuleCluster::Define::ModuleClusterCascadesToClass
|
|
41
37
|
|
42
38
|
def extend_cascades_includes_to_class( *includes )
|
43
39
|
includes_module = anonymous_module_cascade_to_class_extended( :include, *includes )
|
44
|
-
clusterstack_module
|
45
|
-
include( includes_module )
|
46
|
-
end
|
40
|
+
clusterstack_module { include( includes_module ) }
|
47
41
|
return self
|
48
42
|
end
|
49
43
|
|
@@ -53,9 +47,7 @@ module ModuleCluster::Define::ModuleClusterCascadesToClass
|
|
53
47
|
|
54
48
|
def extend_cascades_extends_to_class( *extends )
|
55
49
|
extends_module = anonymous_module_cascade_to_class_extended( :extend, *extends )
|
56
|
-
clusterstack_module
|
57
|
-
include( extends_module )
|
58
|
-
end
|
50
|
+
clusterstack_module { include( extends_module ) }
|
59
51
|
return self
|
60
52
|
end
|
61
53
|
|
@@ -75,9 +67,7 @@ module ModuleCluster::Define::ModuleClusterCascadesToClass
|
|
75
67
|
|
76
68
|
def include_cascades_to_class_prepending_includes( *includes )
|
77
69
|
includes_module = anonymous_module_cascade_to_class_append_features( :include, *includes )
|
78
|
-
clusterstack_module
|
79
|
-
include( includes_module )
|
80
|
-
end
|
70
|
+
clusterstack_module { include( includes_module ) }
|
81
71
|
return self
|
82
72
|
end
|
83
73
|
|
@@ -87,9 +77,7 @@ module ModuleCluster::Define::ModuleClusterCascadesToClass
|
|
87
77
|
|
88
78
|
def include_cascades_to_class_prepending_extends( *extends )
|
89
79
|
extends_module = anonymous_module_cascade_to_class_append_features( :extend, *extends )
|
90
|
-
clusterstack_module
|
91
|
-
include( extends_module )
|
92
|
-
end
|
80
|
+
clusterstack_module { include( extends_module ) }
|
93
81
|
return self
|
94
82
|
end
|
95
83
|
|
@@ -109,9 +97,7 @@ module ModuleCluster::Define::ModuleClusterCascadesToClass
|
|
109
97
|
|
110
98
|
def extend_cascades_to_class_prepending_includes( *includes )
|
111
99
|
includes_module = anonymous_module_cascade_to_class_extend_object( :include, *includes )
|
112
|
-
clusterstack_module
|
113
|
-
include( includes_module )
|
114
|
-
end
|
100
|
+
clusterstack_module { include( includes_module ) }
|
115
101
|
return self
|
116
102
|
end
|
117
103
|
|
@@ -121,9 +107,7 @@ module ModuleCluster::Define::ModuleClusterCascadesToClass
|
|
121
107
|
|
122
108
|
def extend_cascades_to_class_prepending_extends( *extends )
|
123
109
|
extends_module = anonymous_module_cascade_to_class_extend_object( :extend, *extends )
|
124
|
-
clusterstack_module
|
125
|
-
include( extends_module )
|
126
|
-
end
|
110
|
+
clusterstack_module { include( extends_module ) }
|
127
111
|
return self
|
128
112
|
end
|
129
113
|
|
@@ -0,0 +1,124 @@
|
|
1
|
+
|
2
|
+
module ModuleCluster::Define::ModuleClusterCascadesToModule
|
3
|
+
|
4
|
+
#########################################
|
5
|
+
# include_cascades_includes_to_module #
|
6
|
+
#########################################
|
7
|
+
|
8
|
+
def include_cascades_includes_to_module( *includes )
|
9
|
+
includes_module = anonymous_module_cascade_to_module_included( :include, *includes )
|
10
|
+
clusterstack_module { include( includes_module ) }
|
11
|
+
return self
|
12
|
+
end
|
13
|
+
|
14
|
+
########################################
|
15
|
+
# include_cascades_extends_to_module #
|
16
|
+
########################################
|
17
|
+
|
18
|
+
def include_cascades_extends_to_module( *extends )
|
19
|
+
extends_module = anonymous_module_cascade_to_module_included( :extend, *extends )
|
20
|
+
clusterstack_module { include( extends_module ) }
|
21
|
+
return self
|
22
|
+
end
|
23
|
+
|
24
|
+
#####################################################
|
25
|
+
# include_cascades_includes_and_extends_to_module #
|
26
|
+
#####################################################
|
27
|
+
|
28
|
+
def include_cascades_includes_and_extends_to_module( *includes_and_extends )
|
29
|
+
include_cascades_includes_to_module( *includes_and_extends )
|
30
|
+
include_cascades_extends_to_module( *includes_and_extends )
|
31
|
+
return self
|
32
|
+
end
|
33
|
+
|
34
|
+
########################################
|
35
|
+
# extend_cascades_includes_to_module #
|
36
|
+
########################################
|
37
|
+
|
38
|
+
def extend_cascades_includes_to_module( *includes )
|
39
|
+
includes_module = anonymous_module_cascade_to_module_extended( :include, *includes )
|
40
|
+
clusterstack_module { include( includes_module ) }
|
41
|
+
return self
|
42
|
+
end
|
43
|
+
|
44
|
+
#######################################
|
45
|
+
# extend_cascades_extends_to_module #
|
46
|
+
#######################################
|
47
|
+
|
48
|
+
def extend_cascades_extends_to_module( *extends )
|
49
|
+
extends_module = anonymous_module_cascade_to_module_extended( :extend, *extends )
|
50
|
+
clusterstack_module { include( extends_module ) }
|
51
|
+
return self
|
52
|
+
end
|
53
|
+
|
54
|
+
####################################################
|
55
|
+
# extend_cascades_includes_and_extends_to_module #
|
56
|
+
####################################################
|
57
|
+
|
58
|
+
def extend_cascades_includes_and_extends_to_module( *includes_and_extends )
|
59
|
+
extend_cascades_includes_to_module( *includes_and_extends )
|
60
|
+
extend_cascades_extends_to_module( *includes_and_extends )
|
61
|
+
return self
|
62
|
+
end
|
63
|
+
|
64
|
+
####################################################
|
65
|
+
# include_cascades_to_module_prepending_includes #
|
66
|
+
####################################################
|
67
|
+
|
68
|
+
def include_cascades_to_module_prepending_includes( *includes )
|
69
|
+
includes_module = anonymous_module_cascade_to_module_append_features( :include, *includes )
|
70
|
+
clusterstack_module { include( includes_module ) }
|
71
|
+
return self
|
72
|
+
end
|
73
|
+
|
74
|
+
###################################################
|
75
|
+
# include_cascades_to_module_prepending_extends #
|
76
|
+
###################################################
|
77
|
+
|
78
|
+
def include_cascades_to_module_prepending_extends( *extends )
|
79
|
+
extends_module = anonymous_module_cascade_to_module_append_features( :extend, *extends )
|
80
|
+
clusterstack_module { include( extends_module ) }
|
81
|
+
return self
|
82
|
+
end
|
83
|
+
|
84
|
+
################################################################
|
85
|
+
# include_cascades_to_module_prepending_includes_and_extends #
|
86
|
+
################################################################
|
87
|
+
|
88
|
+
def include_cascades_to_module_prepending_includes_and_extends( *includes_and_extends )
|
89
|
+
include_cascades_to_module_prepending_includes( *includes_and_extends )
|
90
|
+
include_cascades_to_module_prepending_extends( *includes_and_extends )
|
91
|
+
return self
|
92
|
+
end
|
93
|
+
|
94
|
+
###################################################
|
95
|
+
# extend_cascades_to_module_prepending_includes #
|
96
|
+
###################################################
|
97
|
+
|
98
|
+
def extend_cascades_to_module_prepending_includes( *includes )
|
99
|
+
includes_module = anonymous_module_cascade_to_module_extend_object( :include, *includes )
|
100
|
+
clusterstack_module { include( includes_module ) }
|
101
|
+
return self
|
102
|
+
end
|
103
|
+
|
104
|
+
##################################################
|
105
|
+
# extend_cascades_to_module_prepending_extends #
|
106
|
+
##################################################
|
107
|
+
|
108
|
+
def extend_cascades_to_module_prepending_extends( *extends )
|
109
|
+
extends_module = anonymous_module_cascade_to_module_extend_object( :extend, *extends )
|
110
|
+
clusterstack_module { include( extends_module ) }
|
111
|
+
return self
|
112
|
+
end
|
113
|
+
|
114
|
+
###############################################################
|
115
|
+
# extend_cascades_to_module_prepending_includes_and_extends #
|
116
|
+
###############################################################
|
117
|
+
|
118
|
+
def extend_cascades_to_module_prepending_includes_and_extends( *includes_and_extends )
|
119
|
+
extend_cascades_to_module_prepending_includes( *includes_and_extends )
|
120
|
+
extend_cascades_to_module_prepending_extends( *includes_and_extends )
|
121
|
+
return self
|
122
|
+
end
|
123
|
+
|
124
|
+
end
|