Class: Array

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

Instance Method Summary collapse

Instance Method Details

#extract_options!Object



8
9
10
11
12
13
14
# File 'lib/em-fs/core_ext.rb', line 8

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