Class: Array

Inherits:
Object show all
Defined in:
lib/eye/utils/mini_active_support.rb

Direct Known Subclasses

Eye::Utils::Tail

Instance Method Summary collapse

Instance Method Details

#extract_options!Object


47
48
49
# File 'lib/eye/utils/mini_active_support.rb', line 47

def extract_options!
  self[-1].is_a?(Hash) ? self.pop : {}
end