class Storexplore::ArrayUtils
Public Class Methods
contains?(array, other)
click to toggle source
# File lib/storexplore/array_utils.rb, line 25 def self.contains?(array, other) other.all? do |x| array.include?(x) end end
stringify(array)
click to toggle source
# File lib/storexplore/array_utils.rb, line 31 def self.stringify(array) array.map &:to_s end