Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/twitter/core_ext/array.rb

Instance Method Summary collapse

Instance Method Details

#extract_options!Object



3
4
5
# File 'lib/twitter/core_ext/array.rb', line 3

def extract_options!
  last.is_a?(::Hash) ? pop : {}
end