Module: SimpleCataloger::CoreExtensions::Array

Included in:
Array
Defined in:
lib/dircat/extensions.rb,
lib/simple_cataloger_dm/core/extensions.rb

Instance Method Summary collapse

Instance Method Details

#extract_options!Object



5
6
7
# File 'lib/dircat/extensions.rb', line 5

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