packwerk-haml 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +75 -0
  4. data/Gemfile +22 -0
  5. data/Gemfile.lock +190 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +32 -0
  8. data/Rakefile +16 -0
  9. data/lib/packwerk_haml/parser.rb +64 -0
  10. data/lib/packwerk_haml/version.rb +6 -0
  11. data/lib/packwerk_haml.rb +8 -0
  12. data/packwerk-haml.gemspec +40 -0
  13. data/sig/packwerk/haml.rbs +4 -0
  14. data/sorbet/config +4 -0
  15. data/sorbet/rbi/annotations/.gitattributes +1 -0
  16. data/sorbet/rbi/annotations/actionview.rbi +75 -0
  17. data/sorbet/rbi/annotations/activesupport.rbi +136 -0
  18. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  19. data/sorbet/rbi/gems/.gitattributes +1 -0
  20. data/sorbet/rbi/gems/actionview@7.1.1.rbi +15004 -0
  21. data/sorbet/rbi/gems/activesupport@7.1.1.rbi +18784 -0
  22. data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
  23. data/sorbet/rbi/gems/base64@0.1.1.rbi +172 -0
  24. data/sorbet/rbi/gems/better_html@2.0.2.rbi +529 -0
  25. data/sorbet/rbi/gems/bigdecimal@3.1.4.rbi +77 -0
  26. data/sorbet/rbi/gems/builder@3.2.4.rbi +8 -0
  27. data/sorbet/rbi/gems/concurrent-ruby@1.2.2.rbi +11545 -0
  28. data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +8 -0
  29. data/sorbet/rbi/gems/constant_resolver@0.2.0.rbi +90 -0
  30. data/sorbet/rbi/gems/crass@1.0.6.rbi +622 -0
  31. data/sorbet/rbi/gems/drb@2.1.1.rbi +1313 -0
  32. data/sorbet/rbi/gems/erubi@1.12.0.rbi +145 -0
  33. data/sorbet/rbi/gems/haml@6.2.3.rbi +1619 -0
  34. data/sorbet/rbi/gems/i18n@1.14.1.rbi +2325 -0
  35. data/sorbet/rbi/gems/json@2.6.3.rbi +1533 -0
  36. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
  37. data/sorbet/rbi/gems/loofah@2.21.4.rbi +1021 -0
  38. data/sorbet/rbi/gems/m@1.6.2.rbi +257 -0
  39. data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
  40. data/sorbet/rbi/gems/minitest-focus@1.4.0.rbi +91 -0
  41. data/sorbet/rbi/gems/minitest@5.20.0.rbi +1509 -0
  42. data/sorbet/rbi/gems/mutex_m@0.1.2.rbi +91 -0
  43. data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
  44. data/sorbet/rbi/gems/nokogiri@1.15.4.rbi +7317 -0
  45. data/sorbet/rbi/gems/packwerk@3.1.0-752d37add96b9f4bf28492d7db152f6523b1d29c.rbi +2370 -0
  46. data/sorbet/rbi/gems/parallel@1.23.0.rbi +273 -0
  47. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +7253 -0
  48. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
  49. data/sorbet/rbi/gems/racc@1.7.1.rbi +161 -0
  50. data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +8 -0
  51. data/sorbet/rbi/gems/rails-html-sanitizer@1.6.0.rbi +716 -0
  52. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +402 -0
  53. data/sorbet/rbi/gems/rake@13.0.6.rbi +3042 -0
  54. data/sorbet/rbi/gems/rbi@0.1.1.rbi +2926 -0
  55. data/sorbet/rbi/gems/regexp_parser@2.8.2.rbi +3749 -0
  56. data/sorbet/rbi/gems/rexml@3.2.6.rbi +4781 -0
  57. data/sorbet/rbi/gems/rubocop-ast@1.29.0.rbi +7075 -0
  58. data/sorbet/rbi/gems/rubocop-performance@1.19.1.rbi +3208 -0
  59. data/sorbet/rbi/gems/rubocop-shopify@2.14.0.rbi +8 -0
  60. data/sorbet/rbi/gems/rubocop-sorbet@0.7.4.rbi +1442 -0
  61. data/sorbet/rbi/gems/rubocop@1.57.0.rbi +56753 -0
  62. data/sorbet/rbi/gems/ruby-lsp@0.2.4.rbi +11 -0
  63. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
  64. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
  65. data/sorbet/rbi/gems/smart_properties@1.17.0.rbi +474 -0
  66. data/sorbet/rbi/gems/spoom@1.2.4.rbi +3777 -0
  67. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23136 -0
  68. data/sorbet/rbi/gems/tapioca@0.11.9.rbi +3498 -0
  69. data/sorbet/rbi/gems/temple@0.10.3.rbi +1738 -0
  70. data/sorbet/rbi/gems/thor@1.2.2.rbi +3965 -0
  71. data/sorbet/rbi/gems/tilt@2.3.0.rbi +925 -0
  72. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5917 -0
  73. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +65 -0
  74. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
  75. data/sorbet/rbi/gems/yard@0.9.34.rbi +18219 -0
  76. data/sorbet/rbi/gems/yarp@0.13.0.rbi +21646 -0
  77. data/sorbet/rbi/gems/zeitwerk@2.6.12.rbi +997 -0
  78. data/sorbet/tapioca/config.yml +13 -0
  79. data/sorbet/tapioca/require.rb +5 -0
  80. metadata +167 -0
@@ -0,0 +1,8 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `ruby2_keywords` gem.
5
+ # Please instead update this file by running `bin/tapioca gem ruby2_keywords`.
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
@@ -0,0 +1,474 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `smart_properties` gem.
5
+ # Please instead update this file by running `bin/tapioca gem smart_properties`.
6
+
7
+ # {SmartProperties} can be used to easily build more full-fledged accessors
8
+ # for standard Ruby classes. In contrast to regular accessors,
9
+ # {SmartProperties} support validation and conversion of input data, as well
10
+ # as, the specification of default values. Additionally, individual
11
+ # {SmartProperties} can be marked as required. This causes the runtime to
12
+ # throw an +ArgumentError+ whenever a required property has not been
13
+ # specified.
14
+ #
15
+ # In order to use {SmartProperties}, simply include the {SmartProperties}
16
+ # module and use the {ClassMethods#property} method to define properties.
17
+ #
18
+ # @example Definition of a property that makes use of all {SmartProperties} features.
19
+ #
20
+ # property :language_code, :accepts => [:de, :en],
21
+ # :converts => :to_sym,
22
+ # :default => :de,
23
+ # :required => true
24
+ # @see ClassMethods#property More information on how to configure properties
25
+ #
26
+ # source://smart_properties//lib/smart_properties.rb#23
27
+ module SmartProperties
28
+ mixes_in_class_methods ::SmartProperties::ClassMethods
29
+
30
+ # Implements a key-value enabled constructor that acts as default
31
+ # constructor for all {SmartProperties}-enabled classes. Positional arguments
32
+ # or keyword arguments that do not correspond to a property are forwarded to
33
+ # the super class constructor.
34
+ #
35
+ # @param attrs [Hash] the set of attributes that is used for initialization
36
+ # @raise [SmartProperties::ConstructorArgumentForwardingError] when unknown arguments were supplied that could not be processed by the super class initializer either.
37
+ # @raise [SmartProperties::InitializationError] when incorrect values were supplied or required values weren't been supplied.
38
+ #
39
+ # source://smart_properties//lib/smart_properties.rb#127
40
+ def initialize(*args, &block); end
41
+
42
+ # source://smart_properties//lib/smart_properties.rb#165
43
+ def [](name); end
44
+
45
+ # source://smart_properties//lib/smart_properties.rb#172
46
+ def []=(name, value); end
47
+
48
+ class << self
49
+ private
50
+
51
+ # Extends the class, which this module is included in, with a property
52
+ # method to define properties.
53
+ #
54
+ # @param base [Class] the class this module is included in
55
+ #
56
+ # source://smart_properties//lib/smart_properties.rb#110
57
+ def included(base); end
58
+ end
59
+ end
60
+
61
+ # source://smart_properties//lib/smart_properties/errors.rb#5
62
+ class SmartProperties::AssignmentError < ::SmartProperties::Error
63
+ # @return [AssignmentError] a new instance of AssignmentError
64
+ #
65
+ # source://smart_properties//lib/smart_properties/errors.rb#9
66
+ def initialize(sender, property, message); end
67
+
68
+ # Returns the value of attribute property.
69
+ #
70
+ # source://smart_properties//lib/smart_properties/errors.rb#7
71
+ def property; end
72
+
73
+ # Sets the attribute property
74
+ #
75
+ # @param value the value to set the attribute property to.
76
+ #
77
+ # source://smart_properties//lib/smart_properties/errors.rb#7
78
+ def property=(_arg0); end
79
+
80
+ # Returns the value of attribute sender.
81
+ #
82
+ # source://smart_properties//lib/smart_properties/errors.rb#6
83
+ def sender; end
84
+
85
+ # Sets the attribute sender
86
+ #
87
+ # @param value the value to set the attribute sender to.
88
+ #
89
+ # source://smart_properties//lib/smart_properties/errors.rb#6
90
+ def sender=(_arg0); end
91
+ end
92
+
93
+ # source://smart_properties//lib/smart_properties.rb#24
94
+ module SmartProperties::ClassMethods
95
+ # Returns a class's smart properties. This includes the properties that
96
+ # have been defined in the parent classes.
97
+ #
98
+ # @return [Hash<String, Property>] A map of property names to property instances.
99
+ #
100
+ # source://smart_properties//lib/smart_properties.rb#31
101
+ def properties; end
102
+
103
+ protected
104
+
105
+ # Defines a new property from a name and a set of options. This results
106
+ # results in creating an accessor that has additional features:
107
+ #
108
+ # 1. Validation of input data by specifiying the +:accepts+ option:
109
+ # If you use a class as value for this option, the setter will check
110
+ # if the value it is about to assign is of this type. If you use an
111
+ # array, the setter will check if the value it is about to assign is
112
+ # included in this array. Finally, if you specify a block, it will
113
+ # invoke the block with the value it is about to assign and check if
114
+ # the block returns a thruthy value, meaning anything but +false+ and
115
+ # +nil+.
116
+ #
117
+ # 2. Conversion of input data by specifiying the +:converts+ option:
118
+ # If you use provide a symbol as value for this option, the setter will
119
+ # invoke this method on the object it is about to assign and take the
120
+ # result of this call instead. If you provide a block, it will invoke
121
+ # the block with the value it is about to assign and take the result
122
+ # of the block instead.
123
+ #
124
+ # 3. Providing a default value by specifiying the +:default+ option.
125
+ #
126
+ # 4. Forcing a property to be present by setting the +:required+ option
127
+ # to true.
128
+ #
129
+ # @example Definition of a property that makes use of all {SmartProperties} features.
130
+ #
131
+ # property :language_code, :accepts => [:de, :en],
132
+ # :converts => :to_sym,
133
+ # :default => :de,
134
+ # :required => true
135
+ # @option options
136
+ # @option options
137
+ # @option options
138
+ # @option options
139
+ # @param name [Symbol] the name of the property
140
+ # @param options [Hash] the list of options used to configure the property
141
+ # @return [Property] The defined property.
142
+ #
143
+ # source://smart_properties//lib/smart_properties.rb#82
144
+ def property(name, **options); end
145
+
146
+ # source://smart_properties//lib/smart_properties.rb#87
147
+ def property!(name, **options); end
148
+ end
149
+
150
+ # source://smart_properties//lib/smart_properties/errors.rb#3
151
+ class SmartProperties::ConfigurationError < ::SmartProperties::Error; end
152
+
153
+ # source://smart_properties//lib/smart_properties/errors.rb#16
154
+ class SmartProperties::ConstructorArgumentForwardingError < ::SmartProperties::Error
155
+ # @return [ConstructorArgumentForwardingError] a new instance of ConstructorArgumentForwardingError
156
+ #
157
+ # source://smart_properties//lib/smart_properties/errors.rb#17
158
+ def initialize(positional_arguments, keyword_arguments); end
159
+
160
+ private
161
+
162
+ # source://smart_properties//lib/smart_properties/errors.rb#33
163
+ def generate_description(argument_type, argument_number); end
164
+ end
165
+
166
+ # source://smart_properties//lib/smart_properties/errors.rb#2
167
+ class SmartProperties::Error < ::ArgumentError; end
168
+
169
+ # source://smart_properties//lib/smart_properties/errors.rb#95
170
+ class SmartProperties::InitializationError < ::SmartProperties::Error
171
+ # @return [InitializationError] a new instance of InitializationError
172
+ #
173
+ # source://smart_properties//lib/smart_properties/errors.rb#99
174
+ def initialize(sender, properties); end
175
+
176
+ # Returns the value of attribute properties.
177
+ #
178
+ # source://smart_properties//lib/smart_properties/errors.rb#97
179
+ def properties; end
180
+
181
+ # Sets the attribute properties
182
+ #
183
+ # @param value the value to set the attribute properties to.
184
+ #
185
+ # source://smart_properties//lib/smart_properties/errors.rb#97
186
+ def properties=(_arg0); end
187
+
188
+ # Returns the value of attribute sender.
189
+ #
190
+ # source://smart_properties//lib/smart_properties/errors.rb#96
191
+ def sender; end
192
+
193
+ # Sets the attribute sender
194
+ #
195
+ # @param value the value to set the attribute sender to.
196
+ #
197
+ # source://smart_properties//lib/smart_properties/errors.rb#96
198
+ def sender=(_arg0); end
199
+
200
+ # source://smart_properties//lib/smart_properties/errors.rb#110
201
+ def to_hash; end
202
+ end
203
+
204
+ # source://smart_properties//lib/smart_properties/errors.rb#62
205
+ class SmartProperties::InvalidValueError < ::SmartProperties::AssignmentError
206
+ # @return [InvalidValueError] a new instance of InvalidValueError
207
+ #
208
+ # source://smart_properties//lib/smart_properties/errors.rb#65
209
+ def initialize(sender, property, value); end
210
+
211
+ # source://smart_properties//lib/smart_properties/errors.rb#80
212
+ def to_hash; end
213
+
214
+ # Returns the value of attribute value.
215
+ #
216
+ # source://smart_properties//lib/smart_properties/errors.rb#63
217
+ def value; end
218
+
219
+ # Sets the attribute value
220
+ #
221
+ # @param value the value to set the attribute value to.
222
+ #
223
+ # source://smart_properties//lib/smart_properties/errors.rb#63
224
+ def value=(_arg0); end
225
+
226
+ private
227
+
228
+ # source://smart_properties//lib/smart_properties/errors.rb#86
229
+ def accepter_message(sender, property); end
230
+ end
231
+
232
+ # source://smart_properties//lib/smart_properties/errors.rb#45
233
+ class SmartProperties::MissingValueError < ::SmartProperties::AssignmentError
234
+ # @return [MissingValueError] a new instance of MissingValueError
235
+ #
236
+ # source://smart_properties//lib/smart_properties/errors.rb#46
237
+ def initialize(sender, property); end
238
+
239
+ # source://smart_properties//lib/smart_properties/errors.rb#57
240
+ def to_hash; end
241
+ end
242
+
243
+ # source://smart_properties//lib/smart_properties.rb#94
244
+ module SmartProperties::ModuleMethods
245
+ # source://smart_properties//lib/smart_properties.rb#95
246
+ def included(target); end
247
+ end
248
+
249
+ # source://smart_properties//lib/smart_properties/property.rb#2
250
+ class SmartProperties::Property
251
+ # @return [Property] a new instance of Property
252
+ #
253
+ # source://smart_properties//lib/smart_properties/property.rb#17
254
+ def initialize(name, **attrs); end
255
+
256
+ # Returns the value of attribute accepter.
257
+ #
258
+ # source://smart_properties//lib/smart_properties/property.rb#8
259
+ def accepter; end
260
+
261
+ # @return [Boolean]
262
+ #
263
+ # source://smart_properties//lib/smart_properties/property.rb#78
264
+ def accepts?(value, scope); end
265
+
266
+ # source://smart_properties//lib/smart_properties/property.rb#62
267
+ def convert(scope, value); end
268
+
269
+ # Returns the value of attribute converter.
270
+ #
271
+ # source://smart_properties//lib/smart_properties/property.rb#7
272
+ def converter; end
273
+
274
+ # source://smart_properties//lib/smart_properties/property.rb#74
275
+ def default(scope); end
276
+
277
+ # source://smart_properties//lib/smart_properties/property.rb#98
278
+ def define(klass); end
279
+
280
+ # source://smart_properties//lib/smart_properties/property.rb#136
281
+ def get(scope); end
282
+
283
+ # Returns the value of attribute instance_variable_name.
284
+ #
285
+ # source://smart_properties//lib/smart_properties/property.rb#10
286
+ def instance_variable_name; end
287
+
288
+ # @return [Boolean]
289
+ #
290
+ # source://smart_properties//lib/smart_properties/property.rb#49
291
+ def missing?(scope); end
292
+
293
+ # Returns the value of attribute name.
294
+ #
295
+ # source://smart_properties//lib/smart_properties/property.rb#6
296
+ def name; end
297
+
298
+ # @return [Boolean]
299
+ #
300
+ # source://smart_properties//lib/smart_properties/property.rb#45
301
+ def optional?(scope); end
302
+
303
+ # @raise [MissingValueError]
304
+ #
305
+ # source://smart_properties//lib/smart_properties/property.rb#89
306
+ def prepare(scope, value); end
307
+
308
+ # @return [Boolean]
309
+ #
310
+ # source://smart_properties//lib/smart_properties/property.rb#53
311
+ def present?(scope); end
312
+
313
+ # Returns the value of attribute reader.
314
+ #
315
+ # source://smart_properties//lib/smart_properties/property.rb#9
316
+ def reader; end
317
+
318
+ # @return [Boolean]
319
+ #
320
+ # source://smart_properties//lib/smart_properties/property.rb#41
321
+ def required?(scope); end
322
+
323
+ # source://smart_properties//lib/smart_properties/property.rb#122
324
+ def set(scope, value); end
325
+
326
+ # source://smart_properties//lib/smart_properties/property.rb#126
327
+ def set_default(scope); end
328
+
329
+ # source://smart_properties//lib/smart_properties/property.rb#141
330
+ def to_h; end
331
+
332
+ # Returns the value of attribute writable.
333
+ #
334
+ # source://smart_properties//lib/smart_properties/property.rb#11
335
+ def writable; end
336
+
337
+ # @return [Boolean]
338
+ #
339
+ # source://smart_properties//lib/smart_properties/property.rb#57
340
+ def writable?; end
341
+
342
+ private
343
+
344
+ # @return [Boolean]
345
+ #
346
+ # source://smart_properties//lib/smart_properties/property.rb#155
347
+ def null_object?(object); end
348
+
349
+ class << self
350
+ # source://smart_properties//lib/smart_properties/property.rb#13
351
+ def define(scope, name, **options); end
352
+ end
353
+ end
354
+
355
+ # source://smart_properties//lib/smart_properties/property.rb#4
356
+ SmartProperties::Property::ALLOWED_DEFAULT_CLASSES = T.let(T.unsafe(nil), Array)
357
+
358
+ # source://smart_properties//lib/smart_properties/property.rb#3
359
+ SmartProperties::Property::MODULE_REFERENCE = T.let(T.unsafe(nil), Symbol)
360
+
361
+ # source://smart_properties//lib/smart_properties/property_collection.rb#2
362
+ class SmartProperties::PropertyCollection
363
+ include ::Enumerable
364
+
365
+ # @return [PropertyCollection] a new instance of PropertyCollection
366
+ #
367
+ # source://smart_properties//lib/smart_properties/property_collection.rb#23
368
+ def initialize; end
369
+
370
+ # source://smart_properties//lib/smart_properties/property_collection.rb#37
371
+ def [](name); end
372
+
373
+ # source://smart_properties//lib/smart_properties/property_collection.rb#29
374
+ def []=(name, value); end
375
+
376
+ # source://smart_properties//lib/smart_properties/property_collection.rb#53
377
+ def each(&block); end
378
+
379
+ # @return [Boolean]
380
+ #
381
+ # source://smart_properties//lib/smart_properties/property_collection.rb#41
382
+ def key?(name); end
383
+
384
+ # source://smart_properties//lib/smart_properties/property_collection.rb#45
385
+ def keys; end
386
+
387
+ # Returns the value of attribute parent.
388
+ #
389
+ # source://smart_properties//lib/smart_properties/property_collection.rb#5
390
+ def parent; end
391
+
392
+ # source://smart_properties//lib/smart_properties/property_collection.rb#62
393
+ def register(child); end
394
+
395
+ # source://smart_properties//lib/smart_properties/property_collection.rb#58
396
+ def to_hash; end
397
+
398
+ # source://smart_properties//lib/smart_properties/property_collection.rb#49
399
+ def values; end
400
+
401
+ protected
402
+
403
+ # Returns the value of attribute children.
404
+ #
405
+ # source://smart_properties//lib/smart_properties/property_collection.rb#70
406
+ def children; end
407
+
408
+ # Sets the attribute children
409
+ #
410
+ # @param value the value to set the attribute children to.
411
+ #
412
+ # source://smart_properties//lib/smart_properties/property_collection.rb#70
413
+ def children=(_arg0); end
414
+
415
+ # Returns the value of attribute collection.
416
+ #
417
+ # source://smart_properties//lib/smart_properties/property_collection.rb#71
418
+ def collection; end
419
+
420
+ # Sets the attribute collection
421
+ #
422
+ # @param value the value to set the attribute collection to.
423
+ #
424
+ # source://smart_properties//lib/smart_properties/property_collection.rb#71
425
+ def collection=(_arg0); end
426
+
427
+ # Returns the value of attribute collection_with_parent_collection.
428
+ #
429
+ # source://smart_properties//lib/smart_properties/property_collection.rb#72
430
+ def collection_with_parent_collection; end
431
+
432
+ # Sets the attribute collection_with_parent_collection
433
+ #
434
+ # @param value the value to set the attribute collection_with_parent_collection to.
435
+ #
436
+ # source://smart_properties//lib/smart_properties/property_collection.rb#72
437
+ def collection_with_parent_collection=(_arg0); end
438
+
439
+ # source://smart_properties//lib/smart_properties/property_collection.rb#74
440
+ def notify_children; end
441
+
442
+ # source://smart_properties//lib/smart_properties/property_collection.rb#78
443
+ def refresh(parent_collection); end
444
+
445
+ class << self
446
+ # source://smart_properties//lib/smart_properties/property_collection.rb#7
447
+ def for(scope); end
448
+ end
449
+ end
450
+
451
+ # source://smart_properties//lib/smart_properties/version.rb#2
452
+ SmartProperties::VERSION = T.let(T.unsafe(nil), String)
453
+
454
+ # source://smart_properties//lib/smart_properties/validations.rb#4
455
+ module SmartProperties::Validations; end
456
+
457
+ # source://smart_properties//lib/smart_properties/validations/ancestor.rb#4
458
+ class SmartProperties::Validations::Ancestor
459
+ include ::SmartProperties
460
+ extend ::SmartProperties::ClassMethods
461
+
462
+ # source://smart_properties//lib/smart_properties/validations/ancestor.rb#13
463
+ def to_proc; end
464
+
465
+ # source://smart_properties//lib/smart_properties/validations/ancestor.rb#18
466
+ def to_s; end
467
+
468
+ # source://smart_properties//lib/smart_properties/validations/ancestor.rb#9
469
+ def validate(klass); end
470
+
471
+ class << self
472
+ def must_be(*_arg0); end
473
+ end
474
+ end