lib/convenient_service/utils/array.rb in convenient_service-0.12.0 vs lib/convenient_service/utils/array.rb in convenient_service-0.13.0

- old
+ new

@@ -1,14 +1,15 @@ # frozen_string_literal: true -require_relative "array/errors" +require_relative "array/exceptions" require_relative "array/contain_exactly" require_relative "array/drop_while" require_relative "array/find_last" require_relative "array/find_yield" require_relative "array/keep_after" +require_relative "array/limited_push" require_relative "array/merge" require_relative "array/rjust" require_relative "array/wrap" module ConvenientService @@ -31,9 +32,13 @@ FindYield.call(...) end def keep_after(...) KeepAfter.call(...) + end + + def limited_push(...) + LimitedPush.call(...) end def merge(...) Merge.call(...) end