module-cluster 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -53,6 +53,12 @@ Cluster methods:
53
53
  * extend_prepends_includes
54
54
  * extend_prepends_extends
55
55
  * extend_prepends_includes_and_extends
56
+ * include_or_extend_also_includes
57
+ * include_or_extend_also_extends
58
+ * include_or_extend_also_includes_and_extends
59
+ * include_or_extend_prepends_includes
60
+ * include_or_extend_prepends_extends
61
+ * include_or_extend_prepends_includes_and_extends
56
62
 
57
63
  Cascade methods (cascades to modules and classes):
58
64
 
@@ -68,6 +74,12 @@ Cascade methods (cascades to modules and classes):
68
74
  * extend_cascades_prepending_includes
69
75
  * extend_cascades_prepending_extends
70
76
  * extend_cascades_prepending_includes_and_extends
77
+ * include_or_extend_cascades_includes
78
+ * include_or_extend_cascades_extends
79
+ * include_or_extend_cascades_includes_and_extends
80
+ * include_or_extend_cascades_prepending_includes
81
+ * include_or_extend_cascades_prepending_extends
82
+ * include_or_extend_cascades_prepending_includes_and_extends
71
83
 
72
84
  Cascade to class methods (does not cascade to modules):
73
85
 
@@ -83,6 +95,12 @@ Cascade to class methods (does not cascade to modules):
83
95
  * extend_cascades_to_class_prepending_includes
84
96
  * extend_cascades_to_class_prepending_extends
85
97
  * extend_cascades_to_class_prepending_includes_and_extends
98
+ * include_or_extend_cascades_includes_to_class
99
+ * include_or_extend_cascades_extends_to_class
100
+ * include_or_extend_cascades_includes_and_extends_to_class
101
+ * include_or_extend_cascades_to_class_prepending_includes
102
+ * include_or_extend_cascades_to_class_prepending_extends
103
+ * include_or_extend_cascades_to_class_prepending_includes_and_extends
86
104
 
87
105
  Cascade to module methods (does not cascade to classes):
88
106
 
@@ -98,6 +116,12 @@ Cascade to module methods (does not cascade to classes):
98
116
  * extend_cascades_to_module_prepending_includes
99
117
  * extend_cascades_to_module_prepending_extends
100
118
  * extend_cascades_to_module_prepending_includes_and_extends
119
+ * include_or_extend_cascades_includes_to_module
120
+ * include_or_extend_cascades_extends_to_module
121
+ * include_or_extend_cascades_includes_and_extends_to_module
122
+ * include_or_extend_cascades_to_module_prepending_includes
123
+ * include_or_extend_cascades_to_module_prepending_extends
124
+ * include_or_extend_cascades_to_module_prepending_includes_and_extends
101
125
 
102
126
  # License #
103
127
 
@@ -49,6 +49,12 @@ Cluster methods:
49
49
  * extend_prepends_includes
50
50
  * extend_prepends_extends
51
51
  * extend_prepends_includes_and_extends
52
+ * include_or_extend_also_includes
53
+ * include_or_extend_also_extends
54
+ * include_or_extend_also_includes_and_extends
55
+ * include_or_extend_prepends_includes
56
+ * include_or_extend_prepends_extends
57
+ * include_or_extend_prepends_includes_and_extends
52
58
 
53
59
  Cascade methods (cascades to modules and classes):
54
60
 
@@ -64,6 +70,12 @@ Cascade methods (cascades to modules and classes):
64
70
  * extend_cascades_prepending_includes
65
71
  * extend_cascades_prepending_extends
66
72
  * extend_cascades_prepending_includes_and_extends
73
+ * include_or_extend_cascades_includes
74
+ * include_or_extend_cascades_extends
75
+ * include_or_extend_cascades_includes_and_extends
76
+ * include_or_extend_cascades_prepending_includes
77
+ * include_or_extend_cascades_prepending_extends
78
+ * include_or_extend_cascades_prepending_includes_and_extends
67
79
 
68
80
  Cascade to class methods (does not cascade to modules):
69
81
 
@@ -79,6 +91,12 @@ Cascade to class methods (does not cascade to modules):
79
91
  * extend_cascades_to_class_prepending_includes
80
92
  * extend_cascades_to_class_prepending_extends
81
93
  * extend_cascades_to_class_prepending_includes_and_extends
94
+ * include_or_extend_cascades_includes_to_class
95
+ * include_or_extend_cascades_extends_to_class
96
+ * include_or_extend_cascades_includes_and_extends_to_class
97
+ * include_or_extend_cascades_to_class_prepending_includes
98
+ * include_or_extend_cascades_to_class_prepending_extends
99
+ * include_or_extend_cascades_to_class_prepending_includes_and_extends
82
100
 
83
101
  Cascade to module methods (does not cascade to classes):
84
102
 
@@ -94,6 +112,12 @@ Cascade to module methods (does not cascade to classes):
94
112
  * extend_cascades_to_module_prepending_includes
95
113
  * extend_cascades_to_module_prepending_extends
96
114
  * extend_cascades_to_module_prepending_includes_and_extends
115
+ * include_or_extend_cascades_includes_to_module
116
+ * include_or_extend_cascades_extends_to_module
117
+ * include_or_extend_cascades_includes_and_extends_to_module
118
+ * include_or_extend_cascades_to_module_prepending_includes
119
+ * include_or_extend_cascades_to_module_prepending_extends
120
+ * include_or_extend_cascades_to_module_prepending_includes_and_extends
97
121
 
98
122
  == License
99
123
 
@@ -154,5 +154,65 @@ module ModuleCluster::Define::ModuleCluster
154
154
  extend_prepends_extends( *includes_and_extends )
155
155
  return self
156
156
  end
157
+
158
+ #####################################
159
+ # include_or_extend_also_includes #
160
+ #####################################
161
+
162
+ def include_or_extend_also_includes( *includes )
163
+ include_also_includes( *includes )
164
+ extend_also_includes( *includes )
165
+ return self
166
+ end
167
+
168
+ ####################################
169
+ # include_or_extend_also_extends #
170
+ ####################################
171
+
172
+ def include_or_extend_also_extends( *extends )
173
+ include_also_extends( *extends )
174
+ extend_also_extends( *extends )
175
+ return self
176
+ end
177
+
178
+ #################################################
179
+ # include_or_extend_also_includes_and_extends #
180
+ #################################################
181
+
182
+ def include_or_extend_also_includes_and_extends( *includes_and_extends )
183
+ include_prepends_includes_and_extends( *includes_and_extends )
184
+ extend_prepends_includes_and_extends( *includes_and_extends )
185
+ return self
186
+ end
187
+
188
+ #########################################
189
+ # include_or_extend_prepends_includes #
190
+ #########################################
191
+
192
+ def include_or_extend_prepends_includes( *includes )
193
+ include_prepends_includes( *includes )
194
+ extend_prepends_includes( *includes )
195
+ return self
196
+ end
197
+
198
+ ########################################
199
+ # include_or_extend_prepends_extends #
200
+ ########################################
201
+
202
+ def include_or_extend_prepends_extends( *extends )
203
+ include_prepends_extends( *extends )
204
+ extend_prepends_extends( *extends )
205
+ return self
206
+ end
207
+
208
+ #####################################################
209
+ # include_or_extend_prepends_includes_and_extends #
210
+ #####################################################
211
+
212
+ def include_or_extend_prepends_includes_and_extends( *includes_and_extends )
213
+ include_prepends_includes_and_extends( *includes_and_extends )
214
+ extend_prepends_includes_and_extends( *includes_and_extends )
215
+ return self
216
+ end
157
217
 
158
218
  end
@@ -171,4 +171,64 @@ module ModuleCluster::Define::ModuleClusterCascades
171
171
  return self
172
172
  end
173
173
 
174
+ #########################################
175
+ # include_or_extend_cascades_includes #
176
+ #########################################
177
+
178
+ def include_or_extend_cascades_includes( *includes )
179
+ include_cascades_includes( *includes )
180
+ extend_cascades_includes( *includes )
181
+ return self
182
+ end
183
+
184
+ ########################################
185
+ # include_or_extend_cascades_extends #
186
+ ########################################
187
+
188
+ def include_or_extend_cascades_extends( *extends )
189
+ include_cascades_extends( *extends )
190
+ extend_cascades_extends( *extends )
191
+ return self
192
+ end
193
+
194
+ #####################################################
195
+ # include_or_extend_cascades_includes_and_extends #
196
+ #####################################################
197
+
198
+ def include_or_extend_cascades_includes_and_extends( *includes_and_extends )
199
+ include_cascades_includes_and_extends( *includes_and_extends )
200
+ extend_cascades_includes_and_extends( *includes_and_extends )
201
+ return self
202
+ end
203
+
204
+ ####################################################
205
+ # include_or_extend_cascades_prepending_includes #
206
+ ####################################################
207
+
208
+ def include_or_extend_cascades_prepending_includes( *includes )
209
+ include_cascades_includes( *includes )
210
+ extend_cascades_includes( *includes )
211
+ return self
212
+ end
213
+
214
+ ###################################################
215
+ # include_or_extend_cascades_prepending_extends #
216
+ ###################################################
217
+
218
+ def include_or_extend_cascades_prepending_extends( *extends )
219
+ include_cascades_extends( *extends )
220
+ extend_cascades_extends( *extends )
221
+ return self
222
+ end
223
+
224
+ ################################################################
225
+ # include_or_extend_cascades_prepending_includes_and_extends #
226
+ ################################################################
227
+
228
+ def include_or_extend_cascades_prepending_includes_and_extends( *includes_and_extends )
229
+ include_cascades_prepending_includes_and_extends( *includes_and_extends )
230
+ extend_cascades_prepending_includes_and_extends( *includes_and_extends )
231
+ return self
232
+ end
233
+
174
234
  end
@@ -187,4 +187,64 @@ module ModuleCluster::Define::ModuleClusterCascadesToClass
187
187
  return self
188
188
  end
189
189
 
190
+ ##################################################
191
+ # include_or_extend_cascades_includes_to_class #
192
+ ##################################################
193
+
194
+ def include_or_extend_cascades_includes_to_class( *includes )
195
+ include_cascades_includes_to_class( *includes )
196
+ extend_cascades_includes_to_class( *includes )
197
+ return self
198
+ end
199
+
200
+ #################################################
201
+ # include_or_extend_cascades_extends_to_class #
202
+ #################################################
203
+
204
+ def include_or_extend_cascades_extends_to_class( *extends )
205
+ include_cascades_extends_to_class( *extends )
206
+ extend_cascades_extends_to_class( *extends )
207
+ return self
208
+ end
209
+
210
+ ##############################################################
211
+ # include_or_extend_cascades_includes_and_extends_to_class #
212
+ ##############################################################
213
+
214
+ def include_or_extend_cascades_includes_and_extends_to_class( *includes_and_extends )
215
+ include_cascades_to_class_prepending_includes_and_extends( *includes_and_extends )
216
+ extend_cascades_to_class_prepending_includes_and_extends( *includes_and_extends )
217
+ return self
218
+ end
219
+
220
+ #############################################################
221
+ # include_or_extend_cascades_to_class_prepending_includes #
222
+ #############################################################
223
+
224
+ def include_or_extend_cascades_to_class_prepending_includes( *includes )
225
+ include_cascades_to_class_prepending_includes( *includes )
226
+ extend_cascades_to_class_prepending_includes( *includes )
227
+ return self
228
+ end
229
+
230
+ ############################################################
231
+ # include_or_extend_cascades_to_class_prepending_extends #
232
+ ############################################################
233
+
234
+ def include_or_extend_cascades_to_class_prepending_extends( *extends )
235
+ include_cascades_to_class_prepending_includes( *extends )
236
+ extend_cascades_to_class_prepending_includes( *extends )
237
+ return self
238
+ end
239
+
240
+ #########################################################################
241
+ # include_or_extend_cascades_to_class_prepending_includes_and_extends #
242
+ #########################################################################
243
+
244
+ def include_or_extend_cascades_to_class_prepending_includes_and_extends( *includes_and_extends )
245
+ include_cascades_to_class_prepending_includes_and_extends( *includes_and_extends )
246
+ extend_cascades_to_class_prepending_includes_and_extends( *includes_and_extends )
247
+ return self
248
+ end
249
+
190
250
  end
@@ -187,4 +187,64 @@ module ModuleCluster::Define::ModuleClusterCascadesToModule
187
187
  return self
188
188
  end
189
189
 
190
+ ###################################################
191
+ # include_or_extend_cascades_includes_to_module #
192
+ ###################################################
193
+
194
+ def include_or_extend_cascades_includes_to_module( *includes )
195
+ include_cascades_includes_to_module( *includes )
196
+ extend_cascades_includes_to_module( *includes )
197
+ return self
198
+ end
199
+
200
+ ##################################################
201
+ # include_or_extend_cascades_extends_to_module #
202
+ ##################################################
203
+
204
+ def include_or_extend_cascades_extends_to_module( *extends )
205
+ include_cascades_extends_to_module( *extends )
206
+ extend_cascades_extends_to_module( *extends )
207
+ return self
208
+ end
209
+
210
+ ###############################################################
211
+ # include_or_extend_cascades_includes_and_extends_to_module #
212
+ ###############################################################
213
+
214
+ def include_or_extend_cascades_includes_and_extends_to_module( *includes_and_extends )
215
+ include_cascades_includes_and_extends_to_module( *includes_and_extends )
216
+ extend_cascades_includes_and_extends_to_module( *includes_and_extends )
217
+ return self
218
+ end
219
+
220
+ ##############################################################
221
+ # include_or_extend_cascades_to_module_prepending_includes #
222
+ ##############################################################
223
+
224
+ def include_or_extend_cascades_to_module_prepending_includes( *includes )
225
+ include_cascades_to_module_prepending_includes( *includes )
226
+ extend_cascades_to_module_prepending_includes( *includes )
227
+ return self
228
+ end
229
+
230
+ #############################################################
231
+ # include_or_extend_cascades_to_module_prepending_extends #
232
+ #############################################################
233
+
234
+ def include_or_extend_cascades_to_module_prepending_extends( *extends )
235
+ include_cascades_to_module_prepending_extends( *extends )
236
+ extend_cascades_to_module_prepending_extends( *extends )
237
+ return self
238
+ end
239
+
240
+ ##########################################################################
241
+ # include_or_extend_cascades_to_module_prepending_includes_and_extends #
242
+ ##########################################################################
243
+
244
+ def include_or_extend_cascades_to_module_prepending_includes_and_extends( *includes_and_extends )
245
+ include_cascades_to_module_prepending_includes_and_extends( *includes_and_extends )
246
+ extend_cascades_to_module_prepending_includes_and_extends( *includes_and_extends )
247
+ return self
248
+ end
249
+
190
250
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 2
8
- - 4
9
- version: 1.2.4
8
+ - 5
9
+ version: 1.2.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Asher