Method: Flows::Contract::Array#transform!

Defined in:
lib/flows/contract/array.rb

#transform!(other) ⇒ Object

See Also:

Since:

  • 0.4.0



38
39
40
41
42
# File 'lib/flows/contract/array.rb', line 38

def transform!(other)
  check!(other)

  other.map { |elem| @contract.transform!(elem) }
end