Module: Ramazon::ArrayExtractOptions

Defined in:
lib/ramazon/rails_additions.rb

Instance Method Summary collapse

Instance Method Details

#extract_options!Object



23
24
25
# File 'lib/ramazon/rails_additions.rb', line 23

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