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



43
44
45
# File 'lib/eye/utils/mini_active_support.rb', line 43

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