11# DO NOT EDIT MANUALLY
22# This is an autogenerated file for types exported from the `smart_properties` gem.
3- # Please instead update this file by running `tapioca sync `.
3+ # Please instead update this file by running `bin/ tapioca gem smart_properties `.
44
55# typed: true
66
77module SmartProperties
8- mixes_in_class_methods ( ::SmartProperties ::ClassMethods )
8+ mixes_in_class_methods ::SmartProperties ::ClassMethods
9+ mixes_in_class_methods ::SmartProperties ::ModuleMethods
910
1011 def initialize ( *args , &block ) ; end
1112
1213 def []( name ) ; end
1314 def []=( name , value ) ; end
1415
1516 class << self
16-
1717 private
1818
1919 def included ( base ) ; end
@@ -24,9 +24,9 @@ class SmartProperties::AssignmentError < ::SmartProperties::Error
2424 def initialize ( sender , property , message ) ; end
2525
2626 def property ; end
27- def property = ( _ ) ; end
27+ def property = ( _arg0 ) ; end
2828 def sender ; end
29- def sender = ( _ ) ; end
29+ def sender = ( _arg0 ) ; end
3030end
3131
3232module SmartProperties ::ClassMethods
@@ -38,28 +38,25 @@ module SmartProperties::ClassMethods
3838 def property! ( name , options = T . unsafe ( nil ) ) ; end
3939end
4040
41- class SmartProperties ::ConfigurationError < ::SmartProperties ::Error
42- end
41+ class SmartProperties ::ConfigurationError < ::SmartProperties ::Error ; end
4342
4443class SmartProperties ::ConstructorArgumentForwardingError < ::SmartProperties ::Error
4544 def initialize ( positional_arguments , keyword_arguments ) ; end
4645
47-
4846 private
4947
5048 def generate_description ( argument_type , argument_number ) ; end
5149end
5250
53- class SmartProperties ::Error < ::ArgumentError
54- end
51+ class SmartProperties ::Error < ::ArgumentError ; end
5552
5653class SmartProperties ::InitializationError < ::SmartProperties ::Error
5754 def initialize ( sender , properties ) ; end
5855
5956 def properties ; end
60- def properties = ( _ ) ; end
57+ def properties = ( _arg0 ) ; end
6158 def sender ; end
62- def sender = ( _ ) ; end
59+ def sender = ( _arg0 ) ; end
6360 def to_hash ; end
6461end
6562
@@ -68,7 +65,7 @@ class SmartProperties::InvalidValueError < ::SmartProperties::AssignmentError
6865
6966 def to_hash ; end
7067 def value ; end
71- def value = ( _ ) ; end
68+ def value = ( _arg0 ) ; end
7269
7370 private
7471
@@ -81,6 +78,10 @@ class SmartProperties::MissingValueError < ::SmartProperties::AssignmentError
8178 def to_hash ; end
8279end
8380
81+ module SmartProperties ::ModuleMethods
82+ def included ( target ) ; end
83+ end
84+
8485class SmartProperties ::Property
8586 def initialize ( name , attrs = T . unsafe ( nil ) ) ; end
8687
@@ -115,11 +116,10 @@ class SmartProperties::Property
115116end
116117
117118SmartProperties ::Property ::ALLOWED_DEFAULT_CLASSES = T . let ( T . unsafe ( nil ) , Array )
118-
119119SmartProperties ::Property ::MODULE_REFERENCE = T . let ( T . unsafe ( nil ) , Symbol )
120120
121121class SmartProperties ::PropertyCollection
122- include ( ::Enumerable )
122+ include ::Enumerable
123123
124124 def initialize ; end
125125
@@ -136,11 +136,11 @@ class SmartProperties::PropertyCollection
136136 protected
137137
138138 def children ; end
139- def children = ( _ ) ; end
139+ def children = ( _arg0 ) ; end
140140 def collection ; end
141- def collection = ( _ ) ; end
141+ def collection = ( _arg0 ) ; end
142142 def collection_with_parent_collection ; end
143- def collection_with_parent_collection = ( _ ) ; end
143+ def collection_with_parent_collection = ( _arg0 ) ; end
144144 def notify_children ; end
145145 def refresh ( parent_collection ) ; end
146146
@@ -150,19 +150,18 @@ class SmartProperties::PropertyCollection
150150end
151151
152152SmartProperties ::VERSION = T . let ( T . unsafe ( nil ) , String )
153-
154- module SmartProperties ::Validations
155- end
153+ module SmartProperties ::Validations ; end
156154
157155class SmartProperties ::Validations ::Ancestor
158- include ( ::SmartProperties )
159- extend ( ::SmartProperties ::ClassMethods )
156+ include ::SmartProperties
157+ extend ::SmartProperties ::ClassMethods
158+ extend ::SmartProperties ::ModuleMethods
160159
161160 def to_proc ; end
162161 def to_s ; end
163162 def validate ( klass ) ; end
164163
165164 class << self
166- def must_be ( *_ ) ; end
165+ def must_be ( *_arg0 ) ; end
167166 end
168167end
0 commit comments