Class: Array

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

Instance Method Summary collapse

Instance Method Details

#extract_options!Object



13
14
15
16
17
18
19
# File 'lib/deferred/extensions.rb', line 13

def extract_options!
  if last.is_a?(Hash) && last.extractable_options?
    pop
  else
    {}
  end
end