class Array
Public Instance Methods
include_all?(values)
click to toggle source
# File lib/r_kit/utility/array_extend.rb, line 3 def include_all? values (self & Array(values)).size == Array(values).size end
include_one?(values)
click to toggle source
# File lib/r_kit/utility/array_extend.rb, line 7 def include_one? values (self & Array(values)).size > 0 end
rotate_left()
click to toggle source
# File lib/r_kit/utility/array_extend.rb, line 12 def rotate_left push shift end