We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d3f6fc commit 2f0e6baCopy full SHA for 2f0e6ba
lib/origami/array.rb
@@ -188,6 +188,7 @@ def do_type_check #:nodoc:
188
189
self.each_with_index do |object, index|
190
index_type = array_type.is_a?(::Array) ? array_type[index % array_type.size] : array_type
191
+ index_type = index_type.is_a?(::Array) ? index_type[index % index_type.size] : index_type
192
193
begin
194
object_value = object.solve
0 commit comments