Class: Array

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

Instance Method Summary collapse

Instance Method Details

#extract_options!Object



21
22
23
# File 'lib/core_ext.rb', line 21

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