class ArrayHelper

Public Class Methods

unwrap_from_array(array) click to toggle source
# File lib/array_helper.rb, line 3
def self.unwrap_from_array(array)
  array = array[0] if array.respond_to?(:map!)
  array
end