class Array

Public Instance Methods

extract_options!() click to toggle source

Selects a hash from the arguments list

# File lib/crowdkit/core_ext/array.rb, line 4
def extract_options!
  last.is_a?(::Hash) ? pop : {}
end