Module: ConvenientService::Utils::Array

Defined in:
lib/convenient_service/utils/array.rb,
lib/convenient_service/utils/array/wrap.rb,
lib/convenient_service/utils/array/merge.rb,
lib/convenient_service/utils/array/rjust.rb,
lib/convenient_service/utils/array/find_last.rb,
lib/convenient_service/utils/array/drop_while.rb,
lib/convenient_service/utils/array/exceptions.rb,
lib/convenient_service/utils/array/find_yield.rb,
lib/convenient_service/utils/array/keep_after.rb,
lib/convenient_service/utils/array/limited_push.rb,
lib/convenient_service/utils/array/contain_exactly.rb

Defined Under Namespace

Modules: Exceptions Classes: ContainExactly, DropWhile, FindLast, FindYield, KeepAfter, LimitedPush, Merge, Rjust, Wrap

Class Method Summary collapse

Class Method Details

.contain_exactly?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/convenient_service/utils/array.rb', line 19

def contain_exactly?(...)
  ContainExactly.call(...)
end

.drop_whileObject



23
24
25
# File 'lib/convenient_service/utils/array.rb', line 23

def drop_while(...)
  DropWhile.call(...)
end

.find_lastObject



27
28
29
# File 'lib/convenient_service/utils/array.rb', line 27

def find_last(...)
  FindLast.call(...)
end

.find_yieldObject



31
32
33
# File 'lib/convenient_service/utils/array.rb', line 31

def find_yield(...)
  FindYield.call(...)
end

.keep_afterObject



35
36
37
# File 'lib/convenient_service/utils/array.rb', line 35

def keep_after(...)
  KeepAfter.call(...)
end

.limited_pushObject



39
40
41
# File 'lib/convenient_service/utils/array.rb', line 39

def limited_push(...)
  LimitedPush.call(...)
end

.mergeObject



43
44
45
# File 'lib/convenient_service/utils/array.rb', line 43

def merge(...)
  Merge.call(...)
end

.rjustObject



47
48
49
# File 'lib/convenient_service/utils/array.rb', line 47

def rjust(...)
  Rjust.call(...)
end

.wrapObject



51
52
53
# File 'lib/convenient_service/utils/array.rb', line 51

def wrap(...)
  Wrap.call(...)
end