lib/tapioca/dsl/compilers/smart_properties.rb in tapioca-0.10.4 vs lib/tapioca/dsl/compilers/smart_properties.rb in tapioca-0.10.5

- old
+ new

@@ -117,13 +117,16 @@ end mod.create_method(property.reader.to_s, return_type: type) end - BOOLEANS = T.let([ - [true, false], - [false, true], - ].freeze, T::Array[[T::Boolean, T::Boolean]]) + BOOLEANS = T.let( + [ + [true, false], + [false, true], + ].freeze, + T::Array[[T::Boolean, T::Boolean]], + ) sig { params(property: ::SmartProperties::Property).returns(String) } def type_for(property) converter, accepter, required = property.to_h.fetch_values( :converter,