Class: Array

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

Instance Method Summary collapse

Instance Method Details

#extract_options!Object



2
3
4
# File 'lib/scrape/core_ext/array.rb', line 2

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