ruby / rbs

Type Signature for Ruby
Other
1.91k stars 201 forks source link

stdlib: Add type for CSV::Row#initialize #1903

Open aki19035vc opened 1 week ago

aki19035vc commented 1 week ago

Add type to CSV::Row#initialize in stdlib because the type does not exist.

The content of the headers array is untyped, because any object can be specified as long as it is an Ruby object.

I placed the test files directly under the stdlib directory, but please let me know if you need to create more directories like stdlib/csv!