Class: Array

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

Instance Method Summary collapse

Instance Method Details

#extract_options!Object


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

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